Add app update support and release publishing

This commit is contained in:
musistudio 2026-06-19 15:49:12 +08:00
parent c480a33587
commit e3ec3cabde
19 changed files with 931 additions and 68 deletions

View file

@ -3,6 +3,13 @@
"productName": "Claude Code Router",
"asar": true,
"npmRebuild": false,
"publish": [
{
"provider": "github",
"owner": "musistudio",
"repo": "claude-code-router"
}
],
"directories": {
"output": "release/${version}"
},
@ -18,7 +25,7 @@
],
"mac": {
"icon": "build/icon.icns",
"target": ["dmg"],
"target": ["dmg", "zip"],
"artifactName": "${productName}_${version}.${ext}"
},
"win": {