diff --git a/scripts/binary/zip.coffee b/scripts/binary/zip.coffee index ded0a48b98..2ecfcae6ab 100644 --- a/scripts/binary/zip.coffee +++ b/scripts/binary/zip.coffee @@ -39,7 +39,7 @@ checkZipSize = (zipPath) -> stats = fs.statSync(zipPath) zipSize = filesize(stats.size, {round: 0}) console.log("zip file size #{zipSize}") - MAX_ALLOWED_SIZE_MB = if os.platform() == "win32" then 245 else 160 + MAX_ALLOWED_SIZE_MB = if os.platform() == "win32" then 245 else 170 MAX_ZIP_FILE_SIZE = megaBytes(MAX_ALLOWED_SIZE_MB) if stats.size > MAX_ZIP_FILE_SIZE throw new Error("Zip file is too large: #{zipSize} (#{stats.size} bytes) exceeds #{MAX_ZIP_FILE_SIZE} bytes")