Skip to content

Commit bce867a

Browse files
committed
Increase compression level
1 parent 9fd3b13 commit bce867a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gen_pack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def zipdir(path, ziph):
168168
os.path.join(path, '..')))
169169

170170
def makeZip(filename):
171-
with zipfile.ZipFile(filename, 'w', zipfile.ZIP_DEFLATED) as zipf:
171+
with zipfile.ZipFile(filename, 'w', zipfile.ZIP_DEFLATED, compresslevel=9) as zipf:
172172
zipdir('assets/', zipf)
173173
zipf.write('pack.mcmeta')
174174
zipf.write('pack.png')

0 commit comments

Comments
 (0)