feat: 🎸 add application update signature configuration
新增程序更新签名配置,用于保证更新包的完整性与安全性
This commit is contained in:
@@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user