From eb80f2daacbe3db2a8fdbadc62396b1394203b04 Mon Sep 17 00:00:00 2001 From: Robert Jelic <36573031+NoryiE@users.noreply.github.com> Date: Mon, 15 May 2023 22:29:27 +0200 Subject: [PATCH] Update install.lua release fix --- docs/install.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/install.lua b/docs/install.lua index c515c96..a4dca16 100644 --- a/docs/install.lua +++ b/docs/install.lua @@ -149,14 +149,14 @@ function installer.getBasaltData() end function installer.getRelease(version) - local v = installer.getBasaltData().versions[version] - if(v~=nil)then + --local v = installer.getBasaltData().versions[version] + --if(v~=nil)then printStatus("Downloading basalt "..version) - local content = http.get("https://basalt.madefor.cc/versions/"..v, {Authorization = _G._GIT_API_KEY and "token ".._G._GIT_API_KEY}) + local content = http.get("https://basalt.madefor.cc/versions/"..version, {Authorization = _G._GIT_API_KEY and "token ".._G._GIT_API_KEY}) if(content~=nil)then return content.readAll() end - end + --end end function installer.downloadRelease(file, version)