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.