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

ref: auto detect game lib and arch

This commit is contained in:
0O0o0oOoO00
2026-02-07 11:46:11 +08:00
parent 6adc8ad835
commit 4d4b36dedc
10 changed files with 49 additions and 19 deletions

View File

@@ -933,7 +933,9 @@ class AzurLaneAutoScript(AzurLaneAutoScript):
def hook_op(self):
op = self.config.full_config.HookOp_HookOp_Operation
if op == "inject":
if op == "detect":
CrackResource(self.config, self.device).auto_detect()
elif op == "inject":
CrackResource(self.config, self.device).ensure()
elif op == "apply":
luahook_disable_all(self.config, self.device)