1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2025-12-16 13:25:13 +00:00

fix: exit aas

This commit is contained in:
RedDeadDepresso 2024-01-10 00:07:13 +00:00
parent 455c3219ec
commit 1b1304442f

View File

@ -367,7 +367,9 @@ class AzurLaneAutoScript:
logger.error("Exiting AAS is only supported on Windows") logger.error("Exiting AAS is only supported on Windows")
return return
try: try:
from module.device.platform.platform_windows import PlatformWindows
from deploy.Windows.alas import AlasManager from deploy.Windows.alas import AlasManager
PlatformWindows(self.config).kill_process_by_regex("aas\.exe")
AlasManager().alas_kill() AlasManager().alas_kill()
except: except:
logger.error("Failed to stop AAS. It may be due to a lack of administrator privileges.") logger.error("Failed to stop AAS. It may be due to a lack of administrator privileges.")