mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2025-12-16 22:05:12 +00:00
fix: exit aas
This commit is contained in:
parent
455c3219ec
commit
1b1304442f
@ -367,7 +367,9 @@ 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
|
from deploy.Windows.alas import AlasManager
|
||||||
|
PlatformWindows(self.config).kill_process_by_regex("aas\.exe")
|
||||||
AlasManager().alas_kill()
|
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.")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user