From e464989202e6321ec8423c0ca3cd4d9c473cca8d Mon Sep 17 00:00:00 2001 From: Lubos Date: Fri, 8 Mar 2019 13:19:55 +0100 Subject: [PATCH] Update check --- Sources/arm/App.hx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/arm/App.hx b/Sources/arm/App.hx index 18edb87a..784c75ca 100644 --- a/Sources/arm/App.hx +++ b/Sources/arm/App.hx @@ -474,6 +474,9 @@ class App extends iron.Trait { if (kha.System.systemId == "Windows") { Krom.sysCommand('powershell -c "Invoke-WebRequest -Uri ' + uri + " -OutFile '" + outFile + "'"); } + else { + Krom.sysCommand('curl ' + uri + ' -o ' + outFile); + } // Compare versions iron.data.Data.getBlob(outFile, function(blob:kha.Blob) { var update = haxe.Json.parse(blob.toString());