Преглед изворни кода

[Linux] Fix downloading urls containing special characters

luboslenco пре 3 година
родитељ
комит
38cb14cd1d
1 измењених фајлова са 1 додато и 1 уклоњено
  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 + '"');