feat: 🎸 add application update signature configuration

新增程序更新签名配置,用于保证更新包的完整性与安全性
This commit is contained in:
2025-11-21 23:40:38 +08:00
parent 3302421371
commit 60b809a59d
10 changed files with 458 additions and 3 deletions

View File

@@ -22,11 +22,24 @@
}
},
"bundle": {
"createUpdaterArtifacts": true,
"active": true,
"targets": "all",
"icon": [
"icons/icon.icns",
"icons/icon.ico"
]
},
"plugins": {
"updater": {
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEQwMzFGN0RGMjhCQkE5MUUKUldRZXFic28zL2N4MERSMlZGdDdKS0Z2ZkRRME9pVnVaamJjclhJcWFrQi8wMUE4VHJVSmpzVC8K",
"endpoints": [
"https://releases.myapp.com/{{target}}/{{arch}}/{{current_version}}",
"https://github.com/user/repo/releases/latest/download/latest.json"
],
"windows": {
"installMode": "passive"
}
}
}
}