From 3e5fea19632ee7074b673056de9809f8795797c1 Mon Sep 17 00:00:00 2001 From: Tristan Smith Date: Sun, 7 Apr 2024 20:29:24 -0400 Subject: [PATCH] live laugh love --- zipremove.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zipremove.py b/zipremove.py index e4813ee..d2b507d 100644 --- a/zipremove.py +++ b/zipremove.py @@ -12,7 +12,7 @@ def filter_and_repack_zip(zip_path): with zipfile.ZipFile(zip_path, 'r') as original_zip: with zipfile.ZipFile(new_zip_path, 'w') as new_zip: for file in original_zip.namelist(): - if "(USA" in file or "(USA, Europe)" in file: + if "(USA" in file or "(USA, Europe)" in file or "(Proto" in file or "[BIOS" in file: new_zip.writestr(file, original_zip.read(file)) else: print(f"Removing {file} from {zip_path}")