First party implementation of release fetching and unpacking
Closed this issue · 0 comments
anfragment commented
Self-update algorithm
- Fetch the release manifest
- Check if manifest version > current version
- Download the file from assetURL into a temporary directory
- Check if the file hash matches that of the release
- Replace:
- On macOS, the entire .app bundle
- On Windows and Linux, just the currently running binary