Eh I'm so stupid. Epic bug with DataDownloader fixed (it won't truncate files anymore) - now I can remove all manual CRC checks.
This commit is contained in:
@@ -293,9 +293,10 @@ class DataDownloader extends Thread
|
||||
|
||||
try {
|
||||
int len = zip.read(buf);
|
||||
while (len > 0)
|
||||
while (len >= 0)
|
||||
{
|
||||
out.write(buf, 0, len);
|
||||
if(len > 0)
|
||||
out.write(buf, 0, len);
|
||||
len = zip.read(buf);
|
||||
|
||||
percent = "";
|
||||
|
||||
Reference in New Issue
Block a user