From 34056b2a2c543512a96a96004976d84f2ee1666a Mon Sep 17 00:00:00 2001 From: AndreasBrostrom Date: Sun, 29 Dec 2024 13:58:06 +0100 Subject: [PATCH] globbing ignores compact and other folders in the mod now --- scripts/assemble.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/assemble.py b/scripts/assemble.py index 66bb117..fd0b098 100755 --- a/scripts/assemble.py +++ b/scripts/assemble.py @@ -278,7 +278,7 @@ def main(): # Copying mods for id in os.listdir(WORKSHOPOUT): - for pbo in glob.glob(os.path.join(WORKSHOPOUT,id,'**','*.pbo'), recursive=True): + for pbo in glob.glob(os.path.join(WORKSHOPOUT,id,'addons','*.pbo'), recursive=True): print(f"Copying {os.path.basename(pbo)}") if args.verbose else "" shutil.copy2(os.path.join(pbo), releaseAddonFolder)