You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! I'm new to Electron development, and haven't been able to figure out this problem when I build my app for distribution.
I don't get any errors in development nor production preview environments, and when running the npm run build:win command I didn't get any errors either.
I'm able to run the installer from myApp/dist/myApp-1.0.0-setup.exe without any problems, but as soon as the installation is completed, the desktop shortcut appears without the proper icon and when I try to launch my app I get an error saying that it is missing a shortcut. When I choose to locate the shortcut I am presented with "..Appdata/Local/Programs/myApp" folder that only has the uninstaller file in it.
Anyone have any clue where I might have gone wrong? Apologies if I have not provided enough info, but as said: I'm new to this and don't really know which files to show or discuss.
(Note: I used myApp name here just for the sake of simplicity)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello! I'm new to Electron development, and haven't been able to figure out this problem when I build my app for distribution.
I don't get any errors in development nor production preview environments, and when running the
npm run build:win
command I didn't get any errors either.I'm able to run the installer from myApp/dist/myApp-1.0.0-setup.exe without any problems, but as soon as the installation is completed, the desktop shortcut appears without the proper icon and when I try to launch my app I get an error saying that it is missing a shortcut. When I choose to locate the shortcut I am presented with "..Appdata/Local/Programs/myApp" folder that only has the uninstaller file in it.
Anyone have any clue where I might have gone wrong? Apologies if I have not provided enough info, but as said: I'm new to this and don't really know which files to show or discuss.
(Note: I used myApp name here just for the sake of simplicity)
Package.json:
electron-builder.yml:
Beta Was this translation helpful? Give feedback.
All reactions