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

fix: exit aas

This commit is contained in:
RedDeadDepresso 2024-01-10 00:01:13 +00:00 committed by YoursFunny
parent 6cca8f1082
commit 7c1620c0f0
Signed by: YoursFunny
GPG Key ID: 207EDC3CD5B40F9C

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.")