mirror of
https://github.com/TeamMidnightDust/RoundTreesPack.git
synced 2025-12-15 09:45:09 +01:00
Increase compression level
This commit is contained in:
@@ -168,7 +168,7 @@ def zipdir(path, ziph):
|
|||||||
os.path.join(path, '..')))
|
os.path.join(path, '..')))
|
||||||
|
|
||||||
def makeZip(filename):
|
def makeZip(filename):
|
||||||
with zipfile.ZipFile(filename, 'w', zipfile.ZIP_DEFLATED) as zipf:
|
with zipfile.ZipFile(filename, 'w', zipfile.ZIP_DEFLATED, compresslevel=9) as zipf:
|
||||||
zipdir('assets/', zipf)
|
zipdir('assets/', zipf)
|
||||||
zipf.write('pack.mcmeta')
|
zipf.write('pack.mcmeta')
|
||||||
zipf.write('pack.png')
|
zipf.write('pack.png')
|
||||||
|
|||||||
Reference in New Issue
Block a user