hack for nan%

content-length is returning 0 bytes on text files for some reason, removing it for the time being
This commit is contained in:
ASCIIcat 2020-08-17 18:36:27 +02:00
parent cb3263bba7
commit 622f0b77dd

View File

@ -1741,8 +1741,8 @@ class AssetGuard extends EventEmitter {
doHashCheck = true
// Adjust download
this.totaldlsize -= asset.size
this.totaldlsize += contentLength
// this.totaldlsize -= asset.size
// this.totaldlsize += contentLength
}
let writeStream = fs.createWriteStream(asset.to)