-
Notifications
You must be signed in to change notification settings - Fork 15k
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
I signed my application,but auto-updater output 'did not pass validation' #1292
Comments
According to the error there is something wrong with your signature, I have pushed a change to print more detailed errors, once it gets released we will have better knowledge of it. |
@w88975 Can you try if the latest release of atom-shell gives meaningful error? |
I'm closing this until there is more information provided. |
Hi @zcbenz, I am also experiencing this behaviour. I'm on Atom-shell 0.23.0, but don't seem to be getting any 'extra' debug info for the failure reason. My build seems OK, with the signing passing and being verified:
When I run auto-update, the download works fine but then I get the following in autoupdater.on('error')
Should there be more error info after your fix? If it makes any difference, I'm still in dev so the cert I am using is self signed and I don't yet package up my app into an asar - its just the exploded app dir copied into Resources. |
Error: Code signature at URL file:///Users/krishna-pt5814/Library/Caches/com.Krishnaraj.autoupdater.ShipIt/update.Homm8pL/Autoupdater%20app.app/ did not pass validation: code has no resources but signature indicates they must be present getting this error while the autoupdater downloads the updated version |
same as this issue: #905
I use the
Developer ID Application: Company (XXXXXXXXXX)
to sign my app.codesign --verbose --force --sign "Developer ID Application: Company (XXXXXXXXXX)" /Users/kamisama/work/fireball/dev/dist/Fireball.app/Contents/MacOS/Fireball
terminal output log:
then I used
autoUpdater.checkForUpdates();
to download theFireball.zip
.but the console output this log:
I also found something interesting。
When I do
checkForUpdates();
,the folder
Users/kamisama/Library/Application%20Support/com.github.atom.ShipIt/update.Im2trlv/
will download file >Fireball.zip
When a software error, the
Users/kamisama/Library/Application%20Support/com.github.atom.ShipIt/update.Im2trlv/
will be delete.The text was updated successfully, but these errors were encountered: