From 0cbde8077ed6899c5a82ba16ceeb2efe1e3a6988 Mon Sep 17 00:00:00 2001 From: RedDeadDepresso <94017243+RedDeadDepresso@users.noreply.github.com> Date: Wed, 10 Jan 2024 00:07:13 +0000 Subject: [PATCH] fix: exit aas --- module/alas.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/alas.py b/module/alas.py index b436b55..03e1586 100644 --- a/module/alas.py +++ b/module/alas.py @@ -367,7 +367,9 @@ class AzurLaneAutoScript: logger.error("Exiting AAS is only supported on Windows") return 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: logger.error("Failed to stop AAS. It may be due to a lack of administrator privileges.")