1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-14 13:09:25 +08:00

fix: disable all crack before enable crack

This commit is contained in:
0O0o0oOoO00
2025-09-01 18:18:09 +08:00
parent eaf985d185
commit 7102921855

View File

@@ -18,7 +18,7 @@ from module.logger import logger
from module.luahook.op import CrackOp
from module.notify import handle_notify
from module.gg_handler.gg_handler import GGHandler
from module.luahook.crack import disable_all_crack, luahook_crack_all, CrackResource, crack_op
from module.luahook.crack import disable_all_crack, luahook_crack_all, CrackResource, crack_op, luahook_disable_all
import gl
from module.device.assets import OTHERS_LOGIN_CONFIRM
@@ -872,6 +872,7 @@ class AzurLaneAutoScript:
try:
if self.is_azur:
GGH.check_then_set_gg_status(inflection.underscore(task))
luahook_disable_all(self.config, self.device)
luahook_crack_all(self.config, self.device)
check_fail = 0
except GameStuckError: