-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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: Failed to modify resources #243
Comments
FWIW I tried to follow the steps here but that didn't help. |
@jkudish Looks like icon is missed, see https://github.com/loopline-systems/electron-builder#in-short about icons (step 2 "icon.ico (Windows app icon)"). |
I have the URL specified as per the documentation in my |
Under the hood we also set |
Yep, I have the file, and I have it in my config too: "build": {
"iconUrl": "https://app.theimagesalon.com/public/imgsalon.ico",
"osx": { ... },
"win": {
"title": "The Image Salon",
"publisher": "The Image Salon",
"authors": "The Image Salon",
"iconUrl": "https://app.theimagesalon.com/public/imgsalon.ico",
"setupIcon": "build/icon.ico"
}
}, |
I have the same error when building on a Win10 VM (x64). On another VM Win7 (ia32) we don't have this problem.... |
Hmm good to know @jbleuzen -- I'll try a Win7 VM |
Tried in a Win7 VM (ia32). Same problem. |
Is the |
Seems to be related to the VM setup. I tried again on a native windows machine from a friend and the app compiled without any problems there. Will try to figure out what about the VM is being problematic. |
Reopened — I am going to check some option values on electron-builder side because Squirrel.window produces unclear ugly error messages. Yes, icon must be at least 256 size. |
Trying to build an app for Windows, from Windows, I get a "Failed to modify resources" error. See full log here
Seems to be related to Squirrel/Squirrel.Windows#488 and to electron-archive/grunt-electron-installer#96 though I am not positive it's the exact same error or not.
Despite the error, the build completes (but setup icon isn't set)
The text was updated successfully, but these errors were encountered: