From 269ce0043069d66ff464010398fe1981d74e5820 Mon Sep 17 00:00:00 2001 From: Pyogenics Date: Fri, 6 Mar 2026 20:48:27 +0000 Subject: [PATCH] Fix error where bad path separators are used on linux causing file not found error --- scripts/pack_arc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/pack_arc.py b/scripts/pack_arc.py index 10c3faa88..5e43d5293 100644 --- a/scripts/pack_arc.py +++ b/scripts/pack_arc.py @@ -73,7 +73,8 @@ print(f"Selected {len(target_file_paths)} files for {output_file_path}") # Read our target files target_files = [] for target_path in target_file_paths: - with open(f"{target_dir}/{target_path.strip()}", "rb") as file: + real_target_path = target_path.replace("\\", "/") + with open(f"{target_dir}/{real_target_path.strip()}", "rb") as file: file_data = file.read() meta_data = FileMetaData( target_path,