Pārlūkot izejas kodu

More cloud fixes

Lubos Lenco 4 gadi atpakaļ
vecāks
revīzija
70c67e7068
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      Sources/arm/sys/File.hx

+ 2 - 0
Sources/arm/sys/File.hx

@@ -97,6 +97,8 @@ class File {
 				if (ab != null) Krom.fileSaveBytes(dstPath, ab);
 			});
 		}
+		#elseif krom_linux
+		Krom.sysCommand('wget -O "' + dstPath + '" ' + url);
 		#else
 		Krom.sysCommand('curl -L ' + url + ' -o "' + dstPath + '"');
 		#end