anki/tools/run.py
2023-12-06 11:34:56 +10:00

15 lines
357 B
Python

# Copyright: Ankitects Pty Ltd and contributors
# License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
import os
import sys
sys.path.extend(["pylib", "qt", "out/pylib", "out/qt"])
if sys.platform == "win32":
os.environ["PATH"] += ";out\\extracted\\win_amd64_audio"
import aqt
if not os.environ.get("SKIP_RUN"):
aqt.run()