Devtools icon not showing up in node webkit app - windows 7 -


i building app using node webkit. in index.html file have added following piece of code ensure devtool/setting icon in node app's toolbar :

var gui = require('nw.gui');  var win = gui.window.get(),  nativemenubar = new gui.menu({      type: "menubar"  });   // check operating system menu  if (process.platform === "darwin") {      nativemenubar.createmacbuiltin("your app name");  }   // assign menu window  win.menu = nativemenubar; 

..while above code able bring devtools/setting icon in mac in linux-ubuntu, same not working win 7 , no settings/devtools icon appearing when same app opened in win 7.

any fix make sure devtool icon appears in toolbar of node app irrespective of os(mac,win or linux)?


Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

jquery - javascript onscroll fade same class but with different div -