added tauri updater

This commit is contained in:
Ren Amamiya
2023-04-19 10:13:34 +07:00
parent a92d6158ce
commit 5ba4a1fa3b
7 changed files with 146 additions and 32 deletions

View File

@@ -22,7 +22,7 @@
"http": {
"all": false,
"request": true,
"scope": ["https://rbr.bio/*", "https://metadata.uselume.xyz/*"]
"scope": ["https://rbr.bio/*", "https://metadata.lume.nu/*"]
},
"shell": {
"all": false,
@@ -53,7 +53,7 @@
},
"externalBin": [],
"icon": ["icons/32x32.png", "icons/128x128.png", "icons/128x128@2x.png", "icons/icon.icns", "icons/icon.ico"],
"identifier": "com.uselume.xyz",
"identifier": "com.lume.nu",
"longDescription": "",
"macOS": {
"entitlements": null,
@@ -75,7 +75,13 @@
"csp": null
},
"updater": {
"active": false
"active": true,
"endpoints": ["https://releases.lume.nu/{{target}}/{{arch}}/{{current_version}}"],
"dialog": true,
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDQ2N0U5RjEzRkY3QUVBMTEKUldRUjZuci9FNTkrUnFaYWZhS3ZkMDFpOXhBNHpyT2ZrWUg4SHdFZ3FzY2tCNStibmw0T29TcXQK%",
"windows": {
"installMode": "passive"
}
},
"systemTray": {
"iconPath": "icons/icon.png",