mirror of
https://github.com/chev2/RoR2-Mods.git
synced 2025-10-30 08:11:54 +00:00
Update zipfiles.py to include author folder
This commit is contained in:
parent
222ac275a1
commit
793646dfe4
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ import zipfile
|
||||||
def zipfiles(z_obj, dir):
|
def zipfiles(z_obj, dir):
|
||||||
for root, dirs, files in os.walk(dir):
|
for root, dirs, files in os.walk(dir):
|
||||||
for file in files:
|
for file in files:
|
||||||
file_loc = file if not file.endswith('.dll') else f'plugins/{file}'
|
file_loc = file if not file.endswith('.dll') else f'plugins/Chev/{file}'
|
||||||
z_obj.write(os.path.join(root, file), arcname=file_loc)
|
z_obj.write(os.path.join(root, file), arcname=file_loc)
|
||||||
|
|
||||||
for folder in next(os.walk('.'))[1]:
|
for folder in next(os.walk('.'))[1]:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue