refactor(spec,loader): 精简项目结构,移除对json配置的支持

- 优化 spec,loader 部分功能合并到 mirror
- 移除 loader 降级策略逻辑
- 新增 logger.rs 统一日志处理
- 其他优化
This commit is contained in:
2026-08-29 17:01:17 +08:00
parent 3db8945e16
commit 0c478ae39d
14 changed files with 371 additions and 493 deletions

View File

@@ -1,6 +1,6 @@
-- mirror.lua (总控制台)
-- __MIRROR_DIR__ 已经在 Rust 中注入完毕,并且是正斜杠格式 (例如 C:/Tools)
local base_dir = __MIRROR_DIR__
base_dir = __MIRROR_DIR__
-- 1. 自定义局部变量,方便复用与后续维护
local python_home = base_dir .. "/tools/python39"