-
-
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 path unquoted, leads to error #3889
Comments
I'm also running into this problem, not sure if there are workarounds to set the application icon on windows or not |
Someone who knows the code base should be able to update the open to use a well-structured path rather than just throw the string into the function. I'm just not sure where it is. We went ahead and shipped our MVP without an icon, but it's an issue we'd still like to see fixed. |
Please specify your windows version and arch (32 or 64 bit). |
For me its 64bit Windows 10 |
Me too. |
it is not electron-builder issue. But it doesn't matter for you as end user. I am investigating why it is broken. |
Please try 21.0.11 |
Has this problem been solved? |
I had this same problem. In my case the problem was in the format of the single image. I used a different converter for the ico format and it worked without problems. I hope it helps you! |
Thank you so much, this was perfect! This bug should be closed. Detailed Explanation: When compiling with Electron Packager/Builder, I got this: |
Thanks !! |
Jo guys. Make sure your Icon is actually an .ico and not just a changned png with a different file ending!!!! |
In my windows configuration, I use the following:
And the release command:
When I run "npm run release", I get an error because the windows file path is not quoted, so drive "C" is the attempted target for finding an icon:
[I snipped the rest of the trace]
Note: the constructed file path for the icon is correct. If it were just quoted, I believe this would work.
I looked through the source, but my initial inspection did not find the spot where the command is constructed.
Any pointers would be appreciated.
The text was updated successfully, but these errors were encountered: