feat: 支持使用命令行调用

This commit is contained in:
DLmaster361
2025-06-09 23:43:36 +08:00
parent 0e8b6b0b6b
commit 1aa4da1adf
11 changed files with 241 additions and 237 deletions

View File

@@ -283,6 +283,9 @@ class _TaskManager(QObject):
)
)
if Config.args.mode == "cli" and Config.power_sign == "NoAction":
Config.set_power_sign("KillSelf")
def check_maa_version(self, v: str):
"""检查MAA版本"""