Files
TauriSolidjsTools/src-tauri/tauri.conf.json
zhilv 60b809a59d feat: 🎸 add application update signature configuration
新增程序更新签名配置,用于保证更新包的完整性与安全性
2025-11-21 23:40:38 +08:00

46 lines
1.1 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "tools",
"version": "0.1.0",
"identifier": "cn.kmux.tools",
"build": {
"beforeDevCommand": "pnpm dev",
"devUrl": "http://localhost:1420",
"beforeBuildCommand": "pnpm build",
"frontendDist": "../dist"
},
"app": {
"windows": [
{
"title": "tools",
"width": 800,
"height": 600
}
],
"security": {
"csp": null
}
},
"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"
}
}
}
}