You should edit the installer so that it copies the icon.svg as agregore-browser.svg into /usr/share/icons/hicolor/apps/agregore-browser.svg and in the .desktop file on the Icon=agregore-browser line you should edit the line to that it points to the actual location of the .svg
This is because when someone installs it via a .deb, the application has no icon.
You may also want to (for all platforms and for other installers like the .zip or .appimage) integrate the icon right into the executable so that the icon will show when running. Examples of how to do this can be seen in other electron projects like etcher or atom.
Would you be able to link to examples of how other projects do it? I was under the impression that I was configuring electron-builder correctly but it didn't seem to work. 🤔
You should edit the installer so that it copies the icon.svg as agregore-browser.svg into /usr/share/icons/hicolor/apps/agregore-browser.svg and in the .desktop file on the Icon=agregore-browser line you should edit the line to that it points to the actual location of the .svg
This is because when someone installs it via a .deb, the application has no icon.
You may also want to (for all platforms and for other installers like the .zip or .appimage) integrate the icon right into the executable so that the icon will show when running. Examples of how to do this can be seen in other electron projects like etcher or atom.