21 lines
425 B
Python
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()
|