Browse Source

More cloud fixes

Lubos Lenco 4 years ago
parent
commit
70c67e7068
1 changed files with 2 additions and 0 deletions
  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