railsware / bozon

🛠 Command line tool for building, testing and publishing modern Electron applications
MIT License
758 stars 52 forks source link

Creating Desktop Shortcut on Installation #34

Closed dizawish closed 7 years ago

dizawish commented 7 years ago

Is it possible to get a shortcut created on desktop on installation?

alchaplinsky commented 7 years ago

@dizawish On Windows, you mean?

dizawish commented 7 years ago

@alchaplinsky Yes. BTW script works like a charm.

alchaplinsky commented 7 years ago

I believe you should do it manually by defining squirrelWindows events.

dizawish commented 7 years ago

Thank you! I will try this and come back if i get it right to share.

develar commented 7 years ago

Default target for electron-builder now is nsis and shortcuts are created for you automatically. No more special code or handlers in your app code.