refactor: 重构执行机架构为 Electron 壳内置 Python 运行时子集

将原 webhost 底座的后端、前端、工具等代码迁移至 electron-shell 目录,构建自包含的 Python 环境包,移除冗余的前端代码、旧的后端模块及相关依赖,更新版本号至 1.0.6,优化平台登录态预检逻辑,统一代码结构为单一真源,避免多副本维护问题。
This commit is contained in:
2026-10-05 14:13:47 +08:00
parent 23e8082511
commit 71f18a4d22
173 changed files with 147 additions and 29432 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ import sys
from datetime import date
REPO_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.insert(0, os.path.join(REPO_ROOT, "desktop")) # webhost 底座
sys.path.insert(0, os.path.join(REPO_ROOT, "desktop", "electron-shell", "python")) # 壳内置 webhost 运行时子集
sys.path.insert(0, os.path.join(REPO_ROOT, "plugins", "XQ0001-0100")) # 插件包
# 通过 importlib 导入包名含空格/中文的插件模块