fix: don't zip hidden files (lol @whoeevee)

This commit is contained in:
zx
2024-10-12 14:53:42 -04:00
parent 46752d0a26
commit 54359e0935

View File

@@ -208,8 +208,10 @@ def make_ipa(tmpdir: str, output: str, level: int) -> None:
except FileNotFoundError: except FileNotFoundError:
pass pass
# don't zip hidden files to fix an installd error sometimes
# thanks a lot eevee 😭
subprocess.run( subprocess.run(
["zip", f"-{level}", "-r", output, "Payload"], ["zip", f"-{level}", "-r", output, "Payload", "-x", "*/.*"],
stdout=subprocess.DEVNULL stdout=subprocess.DEVNULL
) )
else: else: