mirror of
https://gitcode.com/JianFeeeee/TrulyMEM-TrueHumanMEM.git
synced 2026-09-20 00:48:52 +00:00
fix: 修复 trulymem.spec 中 web_api.py 路径(根目录→core/)
This commit is contained in:
@ -37,7 +37,7 @@ if os.path.exists(templates_dir):
|
||||
datas.append((os.path.join(root, f), 'ui/templates'))
|
||||
|
||||
# Web API 脚本(以便子进程模式回退使用)
|
||||
web_api_src = os.path.join(project_root, 'web_api.py')
|
||||
web_api_src = os.path.join(project_root, 'core', 'web_api.py')
|
||||
if os.path.exists(web_api_src):
|
||||
datas.append((web_api_src, '.'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user