Feature: Autoupdate on all platforms, here: WinSparkle #2596
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is the first part to provide Autoupdate for Cryptomator.
This PR requires an extension to the integrations-api (thanks to @infeo and the other Cryptomator devs for their help on how to use the optional integrations-api interfaces): cryptomator/integrations-api#15
and a reflection of the change in integrations-win: cryptomator/integrations-win#16
Some notes on WinSparkle
WinSparkle is designed the way, that it brings up a pop-up (enable or disable the search for updates etc.) on the second start of an application / Cryptomator. So you have to start Cryptomator, end it and start it again to show the pop-up.
It might help to delete the according Registry entry
Software\Skymatic GmbH\Cryptomator\WinSparkle
for testing purposes as WinSparkle also knows, whether is has been started in the past and delays further pop-ups. WinSparkle stores all this in the Registry entries and deleting them brings up the pop-up on second start of Cryptomator. See: https://github.com/vslavik/winsparkle/wiki/Registry-SettingsWinSparkle expects a base64 encoded SHA1 hash of the installer binary copied to the
appcast.xml
, that contains information about updates. WinSparkle provides scripts to generate these hashes and the key pair needed as a starting point.