From 455c3219ec9696f8338ec5676446488f758dc1fe Mon Sep 17 00:00:00 2001 From: RedDeadDepresso <94017243+RedDeadDepresso@users.noreply.github.com> Date: Wed, 10 Jan 2024 00:01:13 +0000 Subject: [PATCH] fix: exit aas --- module/alas.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/alas.py b/module/alas.py index c6b7f8a..b436b55 100644 --- a/module/alas.py +++ b/module/alas.py @@ -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.")