Pinning app in taskbar is creating an incorrect shortcut target
See original GitHub issueNW.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.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
KeePass / Discussion / Help: Problem with Shortcut
To create a shortcut that doesn't need changing, right click on KeePass.exe and select "pin to taskbar". This creates a shortcut in "C:\Users\ ......
Read more >Icon for pinned taskbar shortcut reverts to target icon when ...
I just created a shortcut to an executable on my home desktop. I changed the icon to the shortcut on the desktop. Then,...
Read more >Shortcut properties change when pinning to taskbar
An example of shortcut target properties is - "C:\Program files\application folder\application.exe" config.ini.
Read more >Can't pin app to taskbar persistently - Microsoft Community
So I go and change it to the following parameters for the shortcut (taken from the properties of Start->AllPrograms->Cygwin->CygwinBashShell.
Read more >Pin to taskbar icon gets (2) appended - Super User
Whenever you see a "(2)" after a shortcut, it means it's a duplicate copy of an already existing shortcut, so you know that...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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 ?
This is fixed in git and will be available in the next nightly build.