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

fix: exit aas

This commit is contained in:
RedDeadDepresso 2024-01-10 00:01:13 +00:00
parent 64a26cf836
commit 455c3219ec

View File

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