version 1

This commit is contained in:
2025-07-15 14:11:39 +08:00
parent 81d4874926
commit dc94cc41c2
16 changed files with 1872 additions and 445 deletions

15
config.py Normal file
View File

@ -0,0 +1,15 @@
# config.py
from pathlib import Path
# 專案的根目錄,可以根據您的實際結構調整
# __file__ 是目前檔案 (config.py) 的路徑
# .parent 會取得其所在的目錄
# .parent.parent 會取得上上層目錄
APP_ROOT = Path(__file__).parent
# 所有專案的根目錄
PROJECTS_DIR = APP_ROOT / "projects"
# 共享素材庫的目錄
SHARED_ASSETS_DIR = APP_ROOT / "shared_assets"