question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Pinning app in taskbar is creating an incorrect shortcut target

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
Christywlcommented, Aug 16, 2017
  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 ?

0reactions
rogerwangcommented, Jun 2, 2018

This is fixed in git and will be available in the next nightly build.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found