electron / electron/windows-installer
The shortcut on Windows is not with the icon I set
Open
- Dominant language
- TypeScript
- Stars
- 1.6k
- Forks
- 267
- Avg merge
- 5h 38m
- Merged PRs (30d)
- 1
Description
I'm trying to create a setup file for my program and it's alright, except that the shortcut on the windows menu and the workspace is with the Electron default logo but I set one in the arguments.
**My code:**
```javascript
var icon_url = path.join(__dirname, 'src', 'icon.ico');
winstaller.createWindowsInstaller({
...
iconUrl: icon_url,
setupIcon: icon_url,
...
});
```
The variable "icon_url" returns: `C:\Users\...\Project\Electron-app\src\icon.ico`
I already tried to put only ``"src/icon.ico"`` but it gave innumerable errors.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.