Files
puddy de9ceacd41 feat(electron-shell): 1.11.2 运行台页头标签下移、SDK 状态页去掉重复版本列
页头拆两行:标题/描述 + 右上操作一行,平台/SDK/超时标签整行排在描述下方,标签再多也只换行,不再挤压左侧标题与描述(PageHead 新增 #meta 插槽,其它页面不受影响)。

SDK 状态页:「当前版本」与「已装版本」本是同一份数据(前者=已装列表第一项),删掉「已装版本」列,旧版改为悬停当前版本号提示;名称列 150→220、弹窗 660→720,中文名不再挤。

1.11.1 / 1.11.2 已发版到内网控制面(file_source 59 / 60)。
2026-11-16 19:01:09 +08:00

85 lines
2.1 KiB
JSON

{
"name": "37du-electron-shell",
"productName": "37du 自动化工作台",
"version": "1.11.2",
"description": "37du 执行机 Node/Electron 客户端(替代 Python webhost 底座,插件保持 Python 子进程执行)",
"main": "electron/main.js",
"private": true,
"type": "commonjs",
"scripts": {
"start": "node electron/main.js --cli",
"dev": "node electron/main.js --cli --dev",
"electron": "electron .",
"pack": "node scripts/pack.js",
"pack:raw": "electron-builder --win nsis",
"native:fetch": "node scripts/pack.js --fetch-only",
"copy-renderer": "powershell -NoProfile -ExecutionPolicy Bypass -File scripts/copy-renderer.ps1"
},
"dependencies": {
"adm-zip": "^0.5.18",
"better-sqlite3": "12.4.1",
"ws": "^8.21.3"
},
"devDependencies": {
"electron": "^30.5.1",
"electron-builder": "^24.13.3"
},
"build": {
"appId": "com.37du.automation",
"productName": "37du 自动化工作台",
"asar": true,
"directories": {
"output": "dist-app"
},
"afterPack": "scripts/after-pack.js",
"files": [
"electron/**/*",
"renderer/**/*",
"package.json"
],
"extraResources": [
{
"from": ".env.packaged",
"to": ".env"
},
{
"from": "assets/icon.ico",
"to": "assets/icon.ico"
},
{
"from": "CHANGELOG.md",
"to": "CHANGELOG.md"
}
],
"asarUnpack": [
"**/node_modules/better-sqlite3/**"
],
"npmRebuild": false,
"win": {
"icon": "assets/icon.ico",
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"artifactName": "setup-37du-shell-${version}.exe"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"createDesktopShortcut": true,
"createStartMenuShortcut": true,
"shortcutName": "37du 自动化工作台",
"runAfterFinish": true
}
},
"allowScripts": {
"electron@30.5.1": true,
"better-sqlite3@12.4.1": true
}
}