Signed automatic updates from GitHub Releases

- Atmosphere checks the repo's latest release and offers new versions with their notes
- Updates are signed; installed copies refuse anything not signed with the project key
- Installer, macOS and AppImage builds update themselves; portable and deb/rpm link to the download
- Release workflow builds, signs and publishes every platform with latest.json on a version tag
- Check-for-updates row and automatic check setting in Settings
- Release guide in docs/releasing.md
This commit is contained in:
Christian
2026-11-18 21:25:50 -05:00
parent a5c6c2503b
commit 7f518eecc7
14 changed files with 562 additions and 12 deletions
+5
View File
@@ -14,6 +14,7 @@ mod media;
mod settings;
mod storage;
mod tagging;
mod updates;
use base64::Engine as _;
use downloader::{Downloader, JobRequest, SaveOptions};
@@ -442,6 +443,7 @@ fn main() {
tauri::Builder::default()
.plugin(tauri_plugin_dialog::init())
.plugin(tauri_plugin_updater::Builder::new().build())
.plugin(tauri_plugin_opener::init())
.plugin(tauri_plugin_clipboard_manager::init())
.register_asynchronous_uri_scheme_protocol("atmo", |ctx, request, responder| {
@@ -463,6 +465,9 @@ fn main() {
})
.invoke_handler(tauri::generate_handler![
signin_check,
updates::app_version,
updates::update_check,
updates::update_install,
api_status,
api_new_token,
api_publish,