-
-
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
Error: ditto: Couldn't read PKZip signature #486
Comments
Do you mean that problem is that your app is not signed correctly? Do you see "Signing ..." in your build log? Use https://itunes.apple.com/us/app/rb-app-checker-lite/id519421117?mt=12 to check app. |
I do see "signing..." in my build log. I used the app you linked to check, and my app is signed correctly. Could there be any other reason for this? I'm pretty sure it's an issue with Squirrel.Mac... |
Checked – update works for my app. So, it is not an electron-builder regression issue. |
Okay, it ended up working for some reason after I restarted my release server. May I ask what you're using for your release server for your app? I'm using Nuts... Did you come across better alternatives (from your experience)? |
@mzmousa Nut's caches resources locally, so if you changed the zip file nuts will not fetch the new one until it is restarted |
@MarshallOfSound Damn...if I need to frequently restart the sever, that will be problematic. I'll either try to figure out how to clear the Nuts cache or I'll just make sure my windows builds are perfect 😆 |
Well... Yeah... In theory you shouldn't be uploading bad builds 😕 You can change nuts to proxy to a public GitHub releases section if that's what you want? Then you don't need to worry about it's internal cache, |
I use nuts and restart server every release ;) See recommended servers https://github.com/electron/electron/blob/master/docs/api/auto-updater.md You can try https://github.com/Aluxian/squirrel-updates-server |
For now I have no time to try — nuts works after restart. |
@MarshallOfSound could you elaborate on the public releases thing and not storing internal caches? Or where I could read about that? |
Nuts doesn't just redirect requests to GitHub to support private github repositories. If your repo is public, I think https://github.com/Aluxian/squirrel-updates-server is a better solution. |
@mzmousa If you store your assets in a public GitHub repo you can set environment variables to tell Nuts to redirect requests https://github.com/GitbookIO/nuts/blob/master/bin/web.js#L28 Simply set the environment variable |
@develar Can you help with following issue?
|
did anybody find a fix im getting this error? |
I am code signing from an OSX build server (Jenkins) and am getting this error whenever my app tries to use autoUpdater to update itself, on OSX. I am uploading both the
-mac.zip
and.dmg
to Github. I download one of my.dmg
files, install it, then open it, and get this error. Did I have to export the certificate in my npm script in order for it to work?The text was updated successfully, but these errors were encountered: