pacocoursey / Opus

minimal note-taking app
309 stars 17 forks source link

No launcher icon in Ubuntu #4

Closed digimezzo closed 5 years ago

digimezzo commented 5 years ago

In Ubuntu, there is no launcher icon. This is caused by this bug in Electron-builder: https://github.com/electron-userland/electron-builder/issues/2577

no icon in ubuntu launcher

The workaround is to add a icon.icns (for mac) and icon.ico (for windows) in the assets folder, but not a icon.png. The presence of the png causes the bug apparently. For a, yet unclear, reason, the Linux icon is generated from the icon.icns file, but only when there is no icon.png.

digimezzo commented 5 years ago

I tested this issue with version 2.1.0 on Ubuntu 18.10. I can confirm that the issue is solved.