docs: mention thinning

This commit is contained in:
zx
2024-09-06 17:00:48 -04:00
parent 17da3e897c
commit cd43295d69
2 changed files with 5 additions and 7 deletions

View File

@@ -16,6 +16,7 @@ more coming soon! i'm trying to copy pyzule in order to deprecate it in favor of
- remove UISupportedDevices
- remove watch app
- fakesign the output ipa/app
- thin all binaries to arm64, it can LARGELY reduce app size sometimes!
## notes

View File

@@ -193,13 +193,10 @@ class Executable:
return True
def thin(self) -> bool:
if subprocess.run(
return subprocess.run(
[self.lipo, "-thin", "arm64", self.path, "-output", self.path],
stderr=subprocess.DEVNULL
).returncode == 0:
return True
return False
).returncode == 0
def change_dependency(self, old: str, new: str) -> None:
subprocess.run([self.nt, "-change", old, new, self.path])