electron linux app is not displaying the icon after built
"package-linux": "electron-packager . Desktop-Wallet --overwrite --asar=true --platform=linux --arch=x64 --icon=./assets/icons/png/4.png --prune=true --out=release-builds"
this is the package.json script for developing linux app. while running the electron locally the icon is visible, but when I developed it as an application it is not showing the icon
You need to set the icon in the BrowserWindow constructor :
Also, from the documentation :
Please note that you need to use a PNG, and not the OS X or Windows icon formats, in order for it to show up in the dock/window list