Explorar el Código

More cloud fixes

Lubos Lenco hace 4 años
padre
commit
70c67e7068
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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