-
-
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
Windows icon in taskbar 'cut in half', until the app is 'pinned' #2128
Comments
I experience the same issue. Any news regarding this? |
I had a similar thing where my icon appeared with black vertical lines running down it until I pinned and then unpinned it. I built from a Mac. The .ico file appears just fine in Finder. No idea what the problem is. |
@amir-hadi @eshcharc @tylerjames {
...
"win": {
"icon": "dist",
"target": ["portable"]
},
...
} and now I have: {
...
"win": {
"icon": "dist/favicon-256x256.png",
"target": ["portable"]
},
...
} hope it helps.
|
As the issue which referenced this one. Using icofx to generate ico files can solve this problem. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
The solutions in the panwriter issue thread worked for me (my comment: #5083 (comment)). It would be nice if electron-builder handled this itself someday, though. (avoiding the image cut-off issue, without being so picky about the input file for the icon) |
I find a simple solution that works every time. Just compile it normally, then use a third-party app like Resource Hacker to manually change the icon. |
the same issue was for me also, I tried using https://icoconvert.com/ which was having option to make icons specifically for windows(ICO for Windows 10, Windows 11, 7 and 8). After using the converted image it was working fine. |
My icon is broken / cut in half in Windows 10. I could not test other Windows versions yet. Interestingly the icon appears correct when I 'pin' the app to the taskbar.
Here are example screenshots:
We are using an 256x256 sized ICO file. Can anyone advise? Did someone experience similar issues yet?
The text was updated successfully, but these errors were encountered: