mirror of
https://github.com/NohamR/pyzule-rw.git
synced 2026-10-10 18:39:41 +00:00
docs: mention thinning
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -193,13 +193,10 @@ class Executable:
|
||||
return True
|
||||
|
||||
def thin(self) -> bool:
|
||||
if subprocess.run(
|
||||
[self.lipo, "-thin", "arm64", self.path, "-output", self.path],
|
||||
stderr=subprocess.DEVNULL
|
||||
).returncode == 0:
|
||||
return True
|
||||
|
||||
return False
|
||||
return subprocess.run(
|
||||
[self.lipo, "-thin", "arm64", self.path, "-output", self.path],
|
||||
stderr=subprocess.DEVNULL
|
||||
).returncode == 0
|
||||
|
||||
def change_dependency(self, old: str, new: str) -> None:
|
||||
subprocess.run([self.nt, "-change", old, new, self.path])
|
||||
|
||||
Reference in New Issue
Block a user