mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-23 20:15:57 +08:00
Add: Tools of MAA
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -19,6 +19,7 @@ config/reloadflag
|
|||||||
config/reloadalas
|
config/reloadalas
|
||||||
test.py
|
test.py
|
||||||
test/
|
test/
|
||||||
|
debug/
|
||||||
|
|
||||||
# Created by .ignore support plugin (hsz.mobi)
|
# Created by .ignore support plugin (hsz.mobi)
|
||||||
|
|
||||||
|
|||||||
@@ -154,9 +154,12 @@ class ProcessManager:
|
|||||||
from module.daemon.game_manager import GameManager
|
from module.daemon.game_manager import GameManager
|
||||||
|
|
||||||
GameManager(config=config_name, task="GameManager").run()
|
GameManager(config=config_name, task="GameManager").run()
|
||||||
|
elif func == "MaaCopilot":
|
||||||
|
mod = load_mod('maa')
|
||||||
|
mod.maa_copilot(config_name)
|
||||||
else:
|
else:
|
||||||
mod = load_mod(func)
|
mod = load_mod(func)
|
||||||
mod.loop(config_name=config_name)
|
mod.loop(config_name)
|
||||||
logger.info(f"[{config_name}] exited. Reason: Finish\n")
|
logger.info(f"[{config_name}] exited. Reason: Finish\n")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.exception(e)
|
logger.exception(e)
|
||||||
|
|||||||
Submodule submodule/AlasMaaBridge updated: 298fd8d494...6531275a84
Reference in New Issue
Block a user