Files
douyi_guaji_main/gui/gui_dashboard_app_entry.py
T
2026-06-18 16:49:38 +08:00

21 lines
425 B
Python

from __future__ import annotations
import sys
from pathlib import Path
_BASE_DIR = Path(__file__).resolve().parent.parent
if str(_BASE_DIR) not in sys.path:
sys.path.insert(0, str(_BASE_DIR))
from douyin.updater.bootstrap import run_startup_update_check_early
run_startup_update_check_early(app_name="gui_dashboard_app")
from gui.dashboard_app.app import main # noqa: E402
if __name__ == "__main__":
main()