mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-12 14:33:23 -05:00
fix: create scratch dir and scope catalog ratio
This commit is contained in:
1 parent
b26a874966
commit
eb2c064518
4 files changed
+62
-13
No files matched your search
@@ -1672,6 +1672,9 @@ def _normalize_zip_for_pack(
|
||||
"""
|
||||
import tempfile as _tmp
|
||||
|
||||
# tmp/ is gitignored, so a fresh clone does not carry it. WSL keeps /tmp
|
||||
# on a 4 GB tmpfs that MAME sets overflow, hence the repo-local scratch.
|
||||
os.makedirs("tmp", exist_ok=True)
|
||||
tmp_fd, tmp_path = _tmp.mkstemp(suffix=".zip", dir="tmp")
|
||||
os.close(tmp_fd)
|
||||
try:
|
||||
|
||||
Reference in new issue
Block a user