Skip to content

Commit 58c7c53

Browse files
committed
Eliminate all the indeterminacy!
1 parent 322541f commit 58c7c53

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/create_xpi.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ def constructZipDet():
5151
info.create_system = 3 # aka, UNIX
5252
info.create_version = 20
5353
info.extract_version = 20
54+
info.external_attr = 0600 << 16
55+
info.file_size = long(info.file_size) # is int on some OS's
5456
xpiFile.writestr(info, open(info.filename).read())
5557

5658
constructZipDet()

0 commit comments

Comments
 (0)