Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion apps/desktop/src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,9 @@ fn main() {
.plugin(tauri_plugin_notification::init())
.plugin(tauri_plugin_opener::init())
// The WebView receives no updater capability. Native commands below
// expose the fixed, stateful operations owned by Desktop Update.
// expose the fixed, stateful operations owned by Desktop Update. The
// plugin's required static config deliberately has no usable key;
// each check builds an updater from compiled Release/Recovery trust.
.plugin(tauri_plugin_updater::Builder::new().build())
.setup(|app| {
let app_local_data = app.path().app_local_data_dir()?;
Expand Down
8 changes: 8 additions & 0 deletions apps/desktop/src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,13 @@
"icons/icon.icns",
"icons/icon.ico"
]
},
"plugins": {
"updater": {
"pubkey": "",
"windows": {
"installMode": "passive"
}
}
}
}
7 changes: 0 additions & 7 deletions apps/desktop/src-tauri/tauri.updater-artifacts.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,5 @@
"$schema": "https://schema.tauri.app/config/2",
"bundle": {
"createUpdaterArtifacts": true
},
"plugins": {
"updater": {
"windows": {
"installMode": "passive"
}
}
}
}