fix: 修复 trulymem.spec 中 web_api.py 路径(根目录→core/)

This commit is contained in:
root
2026-04-29 10:58:08 +08:00
parent cbc7b13dbc
commit 159d22510b

View File

@ -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, '.'))