mirror of
https://github.com/pvrzz/atmosphere.git
synced 2026-11-29 05:22:26 +00:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user