chore: use unzip and zip when available

This commit is contained in:
zx committed 2024-09-16 20:07:23 -04:00
1 parent d1c3bc6908
commit 511cb4bbe3
6 files changed
+60 -10

No files matched your search

+6 -1
View File
@@ -35,7 +35,12 @@ class Executable:
def __init__(self, path: str, bundle_path: Optional[str] = None):
if not os.path.isfile(path):
sys.exit(f"[!] {path} does not exist (executable)")
print(f"[!] {path} does not exist (executable)", file=sys.stderr)
sys.exit(
"[?] check the wiki for info: "
"https://github.com/asdfzxcvbn/pyzule-rw/wiki/"
"file-does-not-exist-(executable)-%3F"
)
self.path = path
self.bundle_path = bundle_path