chore(build): 新增 build:local 脚本——本地构建关闭 updater 签名产物
All checks were successful
Push & PR Check / check (push) Successful in 50s
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:
parent
9355c07a6f
commit
31f93adbb2
@ -10,7 +10,8 @@
|
|||||||
"typecheck": "tsc --noEmit",
|
"typecheck": "tsc --noEmit",
|
||||||
"test": "vitest run",
|
"test": "vitest run",
|
||||||
"test:watch": "vitest",
|
"test:watch": "vitest",
|
||||||
"tauri": "tauri"
|
"tauri": "tauri",
|
||||||
|
"build:local": "tauri build --config src-tauri/tauri.local.conf.json"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@tanstack/react-query": "^5.95.0",
|
"@tanstack/react-query": "^5.95.0",
|
||||||
|
|||||||
5
src-tauri/tauri.local.conf.json
Normal file
5
src-tauri/tauri.local.conf.json
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"bundle": {
|
||||||
|
"createUpdaterArtifacts": false
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user