-
Notifications
You must be signed in to change notification settings - Fork 579
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
Can not build success cause of icon set #485
Comments
@RSS1102 Really Thanks for your reply! |
Unfortunately, it does not work |
I can use a template to add this. Perhaps you can provide your minimum demo? |
@RSS1102 oh my god, I convert the .png to .ico, then it works! But why? NSIS document says we can set it both of .png and .ico. |
@RSS1102 Hi, Thanks for your help. I have fixed it.
I add |
@JungleHH *. png is possible. |
Ah it's so odd, can you show the metadata of your png? |
I set my icon in package.json as
whatever image i set , it throws error
failed ERR_ELECTRON_BUILDER_CANNOT_EXECUTE
andError while loading icon from "xxxxxxxxxx\webapp\icon.png": invalid icon file
.I know this error comes from NSIS, but I have used NSIS which installed on my computer to package other application with this .png file.
so, what should I set the shortcut icon correctly?
The text was updated successfully, but these errors were encountered: