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
Post a Comment