chore(build): 新增 build:local 脚本——本地构建关闭 updater 签名产物
All checks were successful
Push & PR Check / check (push) Successful in 50s

本地构建用于装机自验,不需要签名产物;此前会因
TAURI_SIGNING_PRIVATE_KEY 缺失 exit 1(bundle 已产出但脚本层报错)。
签名私钥保持只存于 Gitea secrets(CI 单一发版通道,已验证
OSS latest.json v0.1.19 签名完整),本地不配 key——最小暴露面。
This commit is contained in:
lanrtop 2026-07-06 21:21:57 +09:00
parent 9355c07a6f
commit 31f93adbb2
2 changed files with 7 additions and 1 deletions

View File

@ -10,7 +10,8 @@
"typecheck": "tsc --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"tauri": "tauri"
"tauri": "tauri",
"build:local": "tauri build --config src-tauri/tauri.local.conf.json"
},
"dependencies": {
"@tanstack/react-query": "^5.95.0",

View File

@ -0,0 +1,5 @@
{
"bundle": {
"createUpdaterArtifacts": false
}
}