Pārlūkot izejas kodu

[Linux] Fix downloading urls containing special characters

luboslenco 3 gadi atpakaļ
vecāks
revīzija
38cb14cd1d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      Sources/arm/sys/File.hx

+ 1 - 1
Sources/arm/sys/File.hx

@@ -77,7 +77,7 @@ class File {
 			done();
 		});
 		#elseif krom_linux
-		Krom.sysCommand('wget -O "' + dstPath + '" ' + url);
+		Krom.sysCommand('wget -O "' + dstPath + '" "' + url + '"');
 		done();
 		#else
 		Krom.sysCommand('curl -L ' + url + ' -o "' + dstPath + '"');