electron-userland / electron-builder

A complete solution to package and build a ready for distribution Electron app with “auto update” support out of the box
https://www.electron.build
MIT License
13.61k stars 1.74k forks source link

two icons in taskbar #8279

Closed gitsheny closed 3 months ago

gitsheny commented 3 months ago

After the package has been created and installed on Windows 10, right-click the exe file, select "Pin to Taskbar", and then open the program. If i set app.setAppUserModelId() and the appId, there will only be one icon. Then I customized the nsi file, repackaged it, and repeated the above steps. When opening the program, there were two icons in the taskbar. Maybe the default nsi uses the appId value to do something for system settings?

1