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