feat(electron-shell): 启动链路修复与执行/配置收口插件侧

- 启动链路 P1-P7 修复:预算对齐、完成事件推送、端口占用提示、前端阶段文案接管
- 静态缓存按 IS_FROZEN 区分开发/打包态,bootPhaseOwned 竞态修复
- 一键执行与参数配置统一收口到插件界面,定时任务引用 config_id
- 环境包迁移到 %LOCALAPPDATA%\37duAutomation\python-env,重装零解压
- shell-updater:缓存包 sha256 校验、静默升级后自动拉起新版、自动清理旧安装包
- after-pack 钩子生成 shell.version 修复打包态版本识别
- 插件 xq0031/xq0045 迁移至 plugins/XQ0001-0100/ 号段分桶中文目录
This commit is contained in:
2026-09-28 14:20:35 +08:00
parent 3214305dea
commit 87f995ca47
55 changed files with 1426 additions and 4280 deletions
+22 -2
View File
@@ -1,7 +1,7 @@
{
"name": "37du-electron-shell",
"productName": "37du 自动化工作台",
"version": "1.0.0",
"version": "1.0.3",
"description": "37du 执行机 Node/Electron 客户端(替代 Python webhost 底座,插件保持 Python 子进程执行)",
"main": "electron/main.js",
"private": true,
@@ -15,7 +15,7 @@
},
"dependencies": {
"adm-zip": "^0.5.18",
"better-sqlite3": "^13.0.3",
"better-sqlite3": "12.4.1",
"ws": "^8.21.3"
},
"devDependencies": {
@@ -29,12 +29,28 @@
"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"
}
],
"asarUnpack": [
"**/node_modules/better-sqlite3/**"
],
"npmRebuild": false,
"win": {
"icon": "assets/icon.ico",
"target": [
{
"target": "nsis",
@@ -54,5 +70,9 @@
"shortcutName": "37du 自动化工作台",
"runAfterFinish": true
}
},
"allowScripts": {
"electron@30.5.1": true,
"better-sqlite3@12.4.1": true
}
}