Add tauri updater

This commit is contained in:
Novattz
2025-11-12 15:00:32 +01:00
parent 9bbe1c7de8
commit d280c6c5f3
2 changed files with 11 additions and 2 deletions

View File

@@ -36,4 +36,4 @@ tauri-plugin-process = "2"
custom-protocol = ["tauri/custom-protocol"]
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
# tauri-plugin-updater = "2"
tauri-plugin-updater = "2"

View File

@@ -10,7 +10,8 @@
"active": true,
"targets": "all",
"category": "Utility",
"icon": ["icons/128x128.png", "icons/128x128@2x.png", "icons/icon.png"]
"icon": ["icons/128x128.png", "icons/128x128@2x.png", "icons/icon.png"],
"createUpdaterArtifacts": true
},
"productName": "Creamlinux",
"mainBinaryName": "creamlinux",
@@ -32,5 +33,13 @@
"security": {
"csp": null
}
},
"plugins": {
"updater": {
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IERENzBFNjU0RTBBMUMyNzgKUldSNHdxSGdWT1p3M1liUE0vOGFCRkc2cEQwdWdRR2UyY2VmN3kzckNONCtsaGF0Y1d2WjdOWVEK",
"endpoints": [
"https://github.com/Novattz/creamlinux-installer/releases/latest/download/latest.json"
]
}
}
}