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:
@@ -228,7 +228,7 @@ def _run_file(args: argparse.Namespace, c: Client) -> int:
|
||||
|
||||
if fcmd == "list":
|
||||
data = c.call("GET", f"/api/admin/file-sources?category={args.category}", None, False)
|
||||
files = data.get("files", [])
|
||||
files = data.get("items") or [] # 管理端返回 items/total(旧版误读 files 导致恒为空)
|
||||
if not files:
|
||||
print("(暂无大文件源)")
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user