-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No app icon (deb installation) #2654
Comments
I think I found the problem... Also, they are copied with execute permissions!! I change all the icon file permissions with the following command: The electron builder copies the So until any proper fix, I suggest you use that method if you want icons on your deb installations |
I made another test...
The electron builder copy all the files to the correct folder with the proper read permissions |
I listed the file permissions on the I changed all the .png icon file permissions inside the icons folder with the command I will close this issue, but before that, I will leave the following warning to other users with the same issue: If you use custom png icons inside a folder (like ./build/icons/24x24.png) make sure that the files have the correct permissions. You can change that with the command
|
@samuelcarreira You are hero. Thanks a lot. |
Fixed by adding |
package.json
The
./build/icons
folder contains 10 png files named according to the image size:16x16.png
to1024x1024.png
.desktop file produced
The generated .deb file have the following structure inside:
No app icon on any shortcut.
If I want to have an app icon I have to use the following:
1- add an icon file to root directory and specify it on the
ExtraFiles
entry of the package.json2- change the
linux.desktop
key on the package.json to something likeWhat's the correct way to automate app icon creation with the electron builder?
The text was updated successfully, but these errors were encountered: