Release / Version consistency (push) Waiting to run
- NewAPI 用量查询新增 /api/subscription/self:订阅额度占比作为独立一行展示, 与钱包余额(/api/user/self)分开——两者是互相独立的账本 - 多订阅全部展示;订阅行 unit=% 自动参与预警阈值 - 老版本站点(无订阅接口 404)或无订阅时静默降级,行为与 v0.8.3 一致 - 修复配置面板「测试查询」对金额行错算百分比(曾把钱包余额显示为「已用 29%」); 抽出 isMoneyRow/isPlanRow/percentOf 到 usage-display.ts 与卡片共用 - models.dev 快照同步至 2026-10-15(8,876 模型 / 230 供应商) - 测试:Rust 205(+5)、前端 150(+4),tsc 零错误
59 lines
1.2 KiB
JSON
59 lines
1.2 KiB
JSON
{
|
|
"productName": "Kimi Switch",
|
|
"version": "0.8.4",
|
|
"identifier": "com.kimiswitch.app",
|
|
"build": {
|
|
"beforeDevCommand": "npm run dev",
|
|
"beforeBuildCommand": "npm run build",
|
|
"devUrl": "http://localhost:1420",
|
|
"frontendDist": "../dist"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "Kimi Switch",
|
|
"width": 1200,
|
|
"height": 800,
|
|
"minWidth": 1000,
|
|
"minHeight": 700,
|
|
"resizable": true,
|
|
"fullscreen": false
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' data:;"
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": [
|
|
"nsis"
|
|
],
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.ico",
|
|
"icons/icon.icns"
|
|
],
|
|
"publisher": "codingplan.site",
|
|
"windows": {
|
|
"webviewInstallMode": {
|
|
"type": "downloadBootstrapper"
|
|
},
|
|
"nsis": null
|
|
},
|
|
"macOS": {
|
|
"minimumSystemVersion": "10.15"
|
|
},
|
|
"linux": {
|
|
"deb": {
|
|
"depends": []
|
|
},
|
|
"appimage": {
|
|
"bundleMediaFramework": false
|
|
}
|
|
}
|
|
}
|
|
}
|