docs: mention thinning

This commit is contained in:
zx committed 2024-09-06 17:00:48 -04:00
1 parent 17da3e897c
commit cd43295d69
2 files changed
+5 -7

No files matched your search

+4 -7
View File
@@ -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])