fix: using wrong ldid

This commit is contained in:
zx
2024-09-09 19:36:38 -04:00
parent 5ebab86a44
commit 851eedf629
2 changed files with 2 additions and 2 deletions

View File

@@ -151,7 +151,7 @@ class Executable:
self.inj.write(self.path) # type: ignore
if has_entitlements:
subprocess.run(["ldid", f"-S{ENT_PATH}", self.path])
subprocess.run([self.ldid, f"-S{ENT_PATH}", self.path])
print("[*] restored entitlements")
def fakesign(self, keep_entitlements: bool = True) -> bool: