Skip to content

Commit

Permalink
Merge pull request #12 from 7Cav/globbing-ignores-compact-and-other-f…
Browse files Browse the repository at this point in the history
…olders-in-the-mod-now

globbing ignores compact and other folders in the mod now
  • Loading branch information
AndreasBrostrom authored Dec 29, 2024
2 parents 21e4a05 + 34056b2 commit ebce417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/assemble.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit ebce417

Please sign in to comment.