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.

no shortcuts created anywhere

See original GitHub issue

What version of electron-installer-windows are you using? 0.2.0

What version of node and npm are you using? node 7.7.4 npm 4.1.2 What operating system are you using? windows 7 Can you compile the example app successfully? yes

If not, paste here the output of the following commands:

$ git clone https://github.com/unindented/electron-installer-windows.git
$ cd electron-installer-windows/example
$ DEBUG='electron-installer-windows' npm run build

What did you do? Please include the configuration you are using for electron-installer-windows.

What did you expect to happen? Start menu or desktop shortcut What actually happened? Opens program but doesn’t provide option to reopen anywhere

Should there not be a start menu program created and possibly the option to create a desktop icon?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:6
  • Comments:7

github_iconTop GitHub Comments

2reactions
fcastilloeccommented, Nov 27, 2018

For anybody that’s having problems with shortcuts. This module uses Squirrel at its core. It seems that people might not be handling Squirrel events that rise when installing the app. Your application is expected to handle all this events when installing, updating or uninstalling your app. If this is not done, then your app won’t exit properly (or at all) when installing it, which leads to not creating any shortcuts.

I suggest people use electron-squirrel-startup module, which automatically will handle all Squirrel events.

1reaction
fcastilloeccommented, Nov 27, 2018

@dachinat The only error I see in your code is iconUrl which has to be a URL and not a path. This icon is the one used for shortcuts, and because Windows can download it from the URL, it might not be creating the shortcut. Our README mentions that this has to be a URL. If that doesn’t solve it, please run your script with DEBUG=electron-installer-windows *your script* from bash (even for Windows, powershell and cmd don’t work the same), copy/paste the output to a gist and let me know the link here. Or even better just DM me on twitter (at)fcastillo because Github issues shouldn’t be for asking question

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why there are no shortcuts in life that are worth taking
There's a case to be made that there are shortcuts in life. Nevertheless, these 'shortcuts' are not always a viable long term strategy....
Read more >
No shortcuts were created after installing XP mode
After installing the Virtual PC RC and XP Mode RC, it says the installation completed successfully but it created no shortcuts anywhere on ......
Read more >
There's No Shortcut to Anywhere Worth Going | Jesus Creed
There's No Shortcut to Anywhere Worth Going | Jesus Creed | A Blog by Scot McKnight.
Read more >
There Are No Shortcuts To Any Place Worth Going - Brian Pandji
You can learn anything and create anything you like. But the question is, how authentic is your creation? Is doing a google or...
Read more >
Beverly Sills - There are no shortcuts to any place worth...
There are no shortcuts to any place worth going. Beverly Sills · Place Worth Going Shortcuts Any. Related Authors. J. Cole, Lil Baby,...
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