3

I used electron and I made my first calculator app. I packaged the app using electron-packager. So now after doing this I tried to set an icon. However, it is showing in the start menu but not in the file location. Please check the below pics and help me if you can:

Thank you in advance,

enter image description here

enter image description here

Costa
  • 1,794
  • 1
  • 12
  • 21

1 Answers1

0

I had similar issue, so I put icon in root project. change build script into something like this. It solved the problem.

calculator.png is in root project.

"build": {
"nsis": {
  "oneClick": false,
  "perMachine": true,
  "allowToChangeInstallationDirectory": true,
  "runAfterFinish": false},
"icon": "calculator.png",
"appId": "calculator"}
Dharman
  • 30,962
  • 25
  • 85
  • 135
glovemobile
  • 302
  • 2
  • 8