Lubos Lenco 4 лет назад
Родитель
Сommit
70c67e7068
1 измененных файлов с 2 добавлено и 0 удалено
  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