This commit is contained in:
Your Name
2026-08-27 14:04:28 +08:00
parent f7720831be
commit 334890171e
3016 changed files with 263403 additions and 27971 deletions
+12 -2
View File
@@ -10,8 +10,18 @@ import os
import sys
def main() -> None:
if "--classic-ui" not in sys.argv and os.environ.get("WECOM_RPA_CLASSIC_UI") != "1":
def main() -> None:
if "--archive-backup-worker" in sys.argv:
from archive_auto_backup import worker_main
arguments = [
argument
for argument in sys.argv[1:]
if argument != "--archive-backup-worker"
]
raise SystemExit(worker_main(arguments))
if "--classic-ui" not in sys.argv and os.environ.get("WECOM_RPA_CLASSIC_UI") != "1":
try:
from wechat_gui_qt import main as qt_main
except ImportError as exc: