wip: trail & error

This commit is contained in:
Max Coppen 2022-11-03 22:05:12 +01:00
parent 728556dddf
commit c7821f4bd9
4 changed files with 58 additions and 31 deletions

View file

@ -16,7 +16,7 @@ tauri-build = { git = "https://github.com/tauri-apps/tauri", features = [] }
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
tauri = { git = "https://github.com/tauri-apps/tauri", features = ["api-all"] }
tauri = { git = "https://github.com/tauri-apps/tauri", features = ["api-all", "updater"] }
shared = { path = "../shared" }
[features]

View file

@ -51,7 +51,12 @@
"csp": null
},
"updater": {
"active": false
"active": true,
"endpoints": [
"https://releases.myapp.com/{{target}}/{{current_version}}"
],
"dialog": true,
"pubkey": "YOUR_UPDATER_SIGNATURE_PUBKEY_HERE"
},
"windows": [
{