mirror of
https://github.com/NohamR/pyzule-rw.git
synced 2026-10-11 02:49:40 +00:00
chore: add lipo
This commit is contained in:
@@ -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
BIN
cyan/tools/Darwin/arm64/lipo
Executable file
Binary file not shown.
BIN
cyan/tools/Darwin/x86_64/lipo
Executable file
BIN
cyan/tools/Darwin/x86_64/lipo
Executable file
Binary file not shown.
BIN
cyan/tools/Linux/aarch64/lipo
Executable file
BIN
cyan/tools/Linux/aarch64/lipo
Executable file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
cyan/tools/Linux/x86_64/lipo
Executable file
BIN
cyan/tools/Linux/x86_64/lipo
Executable file
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user