From 6bc83a8c84b7275acac570366e4dfe6d9c853b15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonin=20D=C3=A9cimo?= Date: Mon, 8 Apr 2019 17:38:21 +0200 Subject: [PATCH] =?UTF-8?q?No=20binary=20L=C3=96VE=200.10.0=20available=20?= =?UTF-8?q?for=20macOS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/scripts/macosx.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/scripts/macosx.lua b/src/scripts/macosx.lua index f21998e..372547d 100644 --- a/src/scripts/macosx.lua +++ b/src/scripts/macosx.lua @@ -30,6 +30,9 @@ function s.script(project) local bin if project.loveVersion >= ver'11.0.0' then bin = prefix..".zip" + elseif project.loveVersion == ver'0.10.0' then + utils.io.err("MacOS X: No LÖVE 0.10.0 binary available.\n") + os.exit(1) elseif project.loveVersion >= ver'0.9.0' then bin = prefix.."x-x64.zip" else @@ -42,7 +45,11 @@ function s.script(project) -- Amazon AWS which will answer a 403. -- assert(fs.download(url, cache, true)) if not fs.exists(cache) then - assert(fs.download(url, cache)) + local ok, msg = fs.download(url, cache) + if not ok then + utils.io.err("Tried to download "..url.." to "..cache.."\n") + assert(ok, msg) + end end fs.delete(bin)