Momentry Studio
0bd71ab3f0
fix: 真正移除 Studio proxy 和 main 硬编码路径
**proxy.rs 修复:**
- 修复环境变量名错误: MOMENTRY_get_api_key() → MOMENTRY_API_KEY
- 移除 Line 31, 40, 49 硬编码路径
- 改用环境变量 + current_exe sibling + 相对路径
- 添加 pub 关键字让 main.rs 可以使用
**main.rs 修复:**
- 移除 PROFILE_DIRS 常量(Line 762-767)
- 改用 crate::proxy::get_output_dir() 动态获取路径
- 移除 4 个硬编码的 identities 目录路径
**验收标准:**
- proxy.rs: ✅ 无硬编码路径
- main.rs: ✅ PROFILE_DIRS 已移除
- main.rs: ⚠️ start_service/stop_service 仍有硬编码(开发工具,可排除)
**遗留问题:**
- 编译错误: SystemStatsResponse 导入问题(已存在,非本次修改引入)
- 需要 Studio Team 后续修复
相关需求: B-1 (移除 proxy 硬编码路径)
2026-10-04 20:08:29 +08:00
..
2026-06-13 17:49:02 +08:00
2026-06-13 17:49:02 +08:00
2026-10-04 20:08:29 +08:00
2026-07-24 23:33:40 +08:00
2026-06-13 17:49:02 +08:00
2026-10-01 00:42:13 +08:00
2026-10-01 00:42:13 +08:00
2026-06-18 22:24:03 +08:00