fix: one execute bit rule for pack and manifest

The pack read the git mode and the manifest the file header, so 833
archives extracted 755 from a pack and 644 from install.py, and 75
programs the reverse. packs.executable decides for both. Data tree
members stay 644 as the installer writes them, and the launcher
archives keep the mode ports/ commits.
This commit is contained in:
Abdessamad Derraz committed 2026-11-22 00:58:05 +01:00
1 parent 357153eaa3
commit 7baeb6475c
11 files changed
+93 -40

No files matched your search

+1 -1
View File
@@ -238,7 +238,7 @@ class EmulatorPackHoldsTheCache(unittest.TestCase):
(cache / "a.dat").write_bytes(b"a")
held: list[bool] = []
def member(_zf, _src, _dest):
def member(_zf, _src, _dest, executable=None):
with open(cache.with_name(".scummvm.lock"), "a") as handle:
try:
fcntl.flock(handle, fcntl.LOCK_EX | fcntl.LOCK_NB)