Skip to content

Commit

Permalink
removed the extra fist folder
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryQuan committed Jul 22, 2022
1 parent 37836f0 commit 69c92bc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ def _resetDir(dirname: str):
with zipfile.ZipFile('dist/WoWsUnpack.zip', 'w', zipfile.ZIP_DEFLATED) as zip_file:
for root, dirs, files in os.walk('dist/WoWsUnpack'):
for file in files:
zip_file.write(os.path.join(root, file))
# remove dist/ folder
zip_file.write(os.path.join(root, file), arcname=os.path.join(root[len('dist/'):], file))
print('complete')

0 comments on commit 69c92bc

Please sign in to comment.