chore: add lipo

This commit is contained in:
zx
2024-09-06 16:18:21 -04:00
parent 87dc6a3ae8
commit 8ee7a00f2c
9 changed files with 6 additions and 2 deletions

View File

@@ -15,8 +15,11 @@ class Plist:
def __getitem__(self, key: str) -> Any: def __getitem__(self, key: str) -> Any:
return self.data.get(key, None) return self.data.get(key, None)
def __setitem__(self, key: str, val: Any) -> None:
self.data[key] = val
def save(self) -> None: def save(self) -> None:
with open(self.path, "w") as f: with open(self.path, "wb") as f:
plistlib.dump(self.data, f) plistlib.dump(self.data, f)
def remove(self, key: str) -> bool: def remove(self, key: str) -> bool:
@@ -32,6 +35,7 @@ class Plist:
return False return False
except KeyError: except KeyError:
self[key] = val self[key] = val
return True return True
def remove_uisd(self) -> None: def remove_uisd(self) -> None:

Binary file not shown.

BIN
cyan/tools/Darwin/arm64/lipo Executable file

Binary file not shown.

BIN
cyan/tools/Darwin/x86_64/lipo Executable file

Binary file not shown.

BIN
cyan/tools/Linux/aarch64/lipo Executable file

Binary file not shown.

Binary file not shown.

BIN
cyan/tools/Linux/x86_64/lipo Executable file

Binary file not shown.

Binary file not shown.