1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-14 11:19:26 +08:00

fix: disable all crack before apply crack config

This commit is contained in:
0O0o0oOoO00
2025-11-21 22:25:21 +08:00
parent bd6aeb6fef
commit c448c49ef7

View File

@@ -931,7 +931,8 @@ class AzurLaneAutoScript(AzurLaneAutoScript):
if op == "inject":
CrackResource(self.config, self.device).ensure()
elif op == "apply":
do_crack_op(self.config, self.device, CrackOp.EnableAll)
luahook_disable_all(self.config, self.device)
luahook_crack_all(self.config, self.device)
else:
logger.error(f"Unknown Hook Operation: {op}")