From 54359e0935a85574b00241968c312812b20c873a Mon Sep 17 00:00:00 2001 From: zx Date: Sat, 12 Oct 2024 14:53:42 -0400 Subject: [PATCH] fix: don't zip hidden files (lol @whoeevee) --- cyan/tbhutils.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cyan/tbhutils.py b/cyan/tbhutils.py index 8616a17..f246b9c 100644 --- a/cyan/tbhutils.py +++ b/cyan/tbhutils.py @@ -208,8 +208,10 @@ def make_ipa(tmpdir: str, output: str, level: int) -> None: except FileNotFoundError: pass + # don't zip hidden files to fix an installd error sometimes + # thanks a lot eevee 😭 subprocess.run( - ["zip", f"-{level}", "-r", output, "Payload"], + ["zip", f"-{level}", "-r", output, "Payload", "-x", "*/.*"], stdout=subprocess.DEVNULL ) else: