chore: start satisfying Designated Requirement

the ipas are now more demure

this shouldnt break nor add anything i mean
This commit is contained in:
zx
2025-03-18 19:00:40 -04:00
parent 5ce7a0cb43
commit 740d3716dc
3 changed files with 9 additions and 3 deletions

3
.gitignore vendored
View File

@@ -6,3 +6,6 @@ build/
*.cyan
.DS_Store
*.ipa
*.app/

Binary file not shown.

View File

@@ -137,9 +137,12 @@ class MainExecutable(Executable):
print("[!] failed to merge new entitlements, are they valid?")
def sign_with_entitlements(self, entitlements: str) -> bool:
return subprocess.run(
[self.ldid, f"-S{entitlements}", "-M", "-Cadhoc", self.path]
).returncode == 0
return subprocess.run([
self.ldid,
f"-S{entitlements}", "-M", "-Cadhoc",
f"-Q{self.install_dir}/extras/zero.requirements",
self.path
]).returncode == 0
def lief_inject(self, cmd: str) -> None:
if self.inj is None: # type: ignore