Files

18 lines
437 B
Python
Raw Permalink Normal View History

2026-05-05 19:49:12 +08:00
"""
项目启动脚本 - 支持多环境和跨平台
2026-05-08 15:42:32 +08:00
使用 Dynaconf 进行环境隔离配置
2026-05-05 19:49:12 +08:00
"""
from pathlib import Path
# 添加项目根目录到Python路径
project_root = Path(__file__).parent
if __name__ == "__main__":
2026-05-30 15:03:39 +08:00
# 延迟导入,确保在依赖安装前不会导入第三方库
from app.core.launcher import AppLauncher
# 创建并运行启动器
launcher = AppLauncher(project_root)
launcher.run()