Pinning app in taskbar is creating an incorrect shortcut target

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.

Author: Fantashit

1 thought on “Pinning app in taskbar is creating an incorrect shortcut target

    1. Same result for me on Windows
    2. I also find another problem:
      Open a sample app(named 'test') with nwjs and pin it to the taskbar, right-click the icon, and the name is ‘test’, not nwjs or NWJS 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 ?

Comments are closed.