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:
3
alas.py
3
alas.py
@@ -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}")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user