1
0
mirror of https://github.com/TheFunny/ArisuAutoSweeper synced 2025-12-18 13:05:26 +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") 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
PlatformWindows(self.config).kill_process_by_regex("aas\.exe") 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.")