mirror of
https://github.com/NohamR/pyzule-rw.git
synced 2026-11-25 23:08:01 +00:00
chore: start satisfying Designated Requirement
the ipas are now more demure this shouldnt break nor add anything i mean
This commit is contained in:
3 files changed
+9
-3
No files matched your search
@@ -6,3 +6,6 @@ build/
|
|||||||
*.cyan
|
*.cyan
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|
||||||
|
*.ipa
|
||||||
|
*.app/
|
||||||
|
|
||||||
Binary file not shown.
@@ -137,9 +137,12 @@ class MainExecutable(Executable):
|
|||||||
print("[!] failed to merge new entitlements, are they valid?")
|
print("[!] failed to merge new entitlements, are they valid?")
|
||||||
|
|
||||||
def sign_with_entitlements(self, entitlements: str) -> bool:
|
def sign_with_entitlements(self, entitlements: str) -> bool:
|
||||||
return subprocess.run(
|
return subprocess.run([
|
||||||
[self.ldid, f"-S{entitlements}", "-M", "-Cadhoc", self.path]
|
self.ldid,
|
||||||
).returncode == 0
|
f"-S{entitlements}", "-M", "-Cadhoc",
|
||||||
|
f"-Q{self.install_dir}/extras/zero.requirements",
|
||||||
|
self.path
|
||||||
|
]).returncode == 0
|
||||||
|
|
||||||
def lief_inject(self, cmd: str) -> None:
|
def lief_inject(self, cmd: str) -> None:
|
||||||
if self.inj is None: # type: ignore
|
if self.inj is None: # type: ignore
|
||||||
|
|||||||
Reference in new issue
Block a user