NW.js v0.21.6
Windows 7 Professional
I am running my app by executing a command <directory-nw>/nw.exe <directory-package.json>
.
Now from the task bar when I right click and choose “pin this program to taskbar” I get a shortcut whose target does not contain the first parameter which I used to start the process, i.e, target only has <directory-nw>/nw.exe
. So when I try to open my app using this shortcut, default window of nwjs gets displayed.
I tried using –nwapp argument but it is not opening the app whose directory I am passing as the value of this argument.
Open a sample app(
named 'test'
) with nwjs and pin it to the taskbar, right-click the icon, and the name is ‘test’, notnwjs
orNWJS Default
. If you open the window with this icon, it will open the nwjs default window with another icon(not nwjs default icon
) in the taskbar. I think this may be an issue.@rogerwang , could you please help confirm this ?