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
Auto-Updater may fail for signed electron apps #116
Comments
@brianking Could you please check this for Mac by updating the 1.13 version: https://download.eclipse.org/theia/1.13.0/macos/ |
It's failing on macOS, but with a different error.
I have omitted the sha512 value on purpose, not sure if it is sensitive info. |
Thanks! Seems like electron-userland/electron-builder#2199 |
* Update metadata with info for signed windows build
* Update metadata with info for signed windows build
* Update metadata with info for signed windows build
Short update on the windows situation. Updating file size and hash in the metadata file is possible and then leads to the installer being downloaded and invoked. However we then hit a further bug: electron-userland/electron-builder#4711 |
* Update metadata with info for signed windows build
* Update metadata with info for signed windows build
* Update metadata with info for signed windows build
@jfaltermeier Any updates about macOS? For Windows, do you see any possible workarounds? I presume we don't want to get out of beta (1.0?) without having updates fixed, right? |
For Windows I have applied a manual fix at the moment, which then leads to a working update: https://download.eclipse.org/theia/latest/windows/ Once this is done, I will continue with Mac, as this is a blocker for getting out of beta. |
* add typescript script to update the checksum metadata for an installer and also include the version number in the installer filename path * change build process so that the windows installer gets a fixed checksum after signing and create a link to the installer including the version number
* add typescript script to update the checksum metadata for an installer and also include the version number in the installer filename path * change build process so that the windows installer gets a fixed checksum after signing and create a link to the installer including the version number
* add typescript script to update the checksum metadata for an installer and also include the version number in the installer filename path * change build process so that the windows installer gets a fixed checksum after signing and create a link to the installer including the version number
* add typescript script to update the checksum metadata for an installer and also include the version number in the installer filename path * change build process so that the windows installer gets a fixed checksum after signing and create a link to the installer including the version number
* add typescript script to update the checksum metadata for an installer and also include the version number in the installer filename path * change build process so that the windows installer gets a fixed checksum after signing and create a link to the installer including the version number * also build zip for mac because required for updates
* add typescript script to update the checksum metadata for an installer and also include the version number in the installer filename path * change build process so that the windows installer gets a fixed checksum after signing and create a link to the installer including the version number * also build zip for mac because required for updates
* add typescript script to update the checksum metadata for an installer and also include the version number in the installer filename path * change build process so that the windows installer gets a fixed checksum after signing and create a link to the installer including the version number * also build zip for mac because required for updates
* add typescript script to update the checksum metadata for an installer and also include the version number in the installer filename path * change build process so that the windows installer gets a fixed checksum after signing and create a link to the installer including the version number * also build zip for mac because required for updates
* add typescript script to update the checksum metadata for an installer and also include the version number in the installer filename path * change build process so that the windows installer gets a fixed checksum after signing and create a link to the installer including the version number * also build zip for mac because required for updates
* add typescript script to update the checksum metadata for an installer and also include the version number in the installer filename path * change build process so that the windows installer gets a fixed checksum after signing and create a link to the installer including the version number * also build zip for mac because required for updates
* add typescript script to update the checksum metadata for an installer and also include the version number in the installer filename path * change build process so that the windows installer gets a fixed checksum after signing and create a link to the installer including the version number * also build zip for mac because required for updates
* add typescript script to update the checksum metadata for an installer and also include the version number in the installer filename path * change build process so that the windows installer gets a fixed checksum after signing and create a link to the installer including the version number * also build zip for mac because required for updates
* Copy windows installer with version instead of soft linking
@brianking I've set up a small testing environment and I think updating from e.g 1.16.0 (https://download.eclipse.org/theia/1.16.0/) to 1.17.1 on mac os should work now. |
* Copy windows installer with version instead of soft linking
This update worked successfully for me @jfaltermeier. The only thing missing for me is a progress indicator for the download. It appeared for a while that nothing was happening, until the notification came up prompting me to apply the update. |
|
Bug Description:
When testing updating from Theia-Blueprint 1.13.0 (https://download.eclipse.org/theia/1.13.0/windows/) to the latest version, it fails with this log message:
[error] Error: Error: sha512 checksum mismatch, expected YYK4Rj/MMIRE/MeFSfVuQOeShXxrwdM5TMgjgPc5uvNxLkQpqUMqTX7MoqYeLpW2gvcgaeVDYPfFROu8LIhtSw==, got EwV8hwXMsQ+5qIjZ1HFGcdPJyBqdkXyCZCSopvhPzhRzwltCZRWvthszWrVUGb/ranElMKAH38YFLo8Y0IfRSw==
This is probably caused because we sign the installers after this checksum was computed. So we will have to update the metadata file https://download.eclipse.org/theia/latest/windows/latest.yml with the checksum after signing
Auto-Update works for the unsigned Linux AppImage
Steps to Reproduce:
C:\Users\<username>\AppData\Roaming\Theia Blueprint\logs\main.log
The text was updated successfully, but these errors were encountered: