Lubos Lenco 4 anni fa
parent
commit
70c67e7068
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  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