No icon on executable on linux
See original GitHub issue- I have read the contribution documentation for this project.
- I agree to follow the code of conduct that this project follows, as appropriate.
- I have searched the issue tracker for an issue that matches the one I want to file, without success.
Please describe your issue:
I dont have icon on the executable for linux (ubuntu), the icon on the left dock is ok though.
Here the command im using, icon.png is present in assets/build/png/icon.png
electron-packager . chain-wallet --overwrite --asar --platform=linux --arch=x64 --icon=assets/build/png/icon.png --prune=true --out=release-builds
Im missing something ? Icons working well on windows.
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
executable icon is missing for Ubuntu 18.04 - gnome
I tried compiled with -no-pie (only one dash in the front) and it solves it. Do you know whether there's any downside for...
Read more >Embedding an icon in a Linux executable - Stack Overflow
Executables on Linux do not have icons embedded (try to point your file manager to /usr/bin ). What you have seen is probably...
Read more >How to Extract Icons from Executable File in Linux
A program's icons can be found inside their package source files (not in the executable binary). Icons for programs that have been installed ......
Read more >Windows not showing executable icons after installing app in ...
It was my understanding that installing an application in your Linux kernel on WSL2 gives you an icon. Steps I have taken on...
Read more >Why does Windows 10 incorrectly report that "The file example ...
lnk files with a missing icon and go to Properties > Change Icon, I am told "The file example.exe contains no icons". This...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Per the icon docs, make sure your icon for macOS is in ICNS format. It’s important to note that macOS has an app icon cache, so during development it may not show up until that cache evicts the entry for your app. (Use StackOverflow or similar to find out how to clear that cache.)
Hi @malept, I think it’s important to add that note about macOS app icon cache, I’ve been trying to build with the icon for a few hours with no success, until I found this 😃
Then used :
Then built the app again and this time I had the custom icon.