Skip to content

Commit eb80f2d

Browse files
committed
Update install.lua
release fix
1 parent c0d670b commit eb80f2d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/install.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,14 @@ function installer.getBasaltData()
149149
end
150150

151151
function installer.getRelease(version)
152-
local v = installer.getBasaltData().versions[version]
153-
if(v~=nil)then
152+
--local v = installer.getBasaltData().versions[version]
153+
--if(v~=nil)then
154154
printStatus("Downloading basalt "..version)
155-
local content = http.get("https://basalt.madefor.cc/versions/"..v, {Authorization = _G._GIT_API_KEY and "token ".._G._GIT_API_KEY})
155+
local content = http.get("https://basalt.madefor.cc/versions/"..version, {Authorization = _G._GIT_API_KEY and "token ".._G._GIT_API_KEY})
156156
if(content~=nil)then
157157
return content.readAll()
158158
end
159-
end
159+
--end
160160
end
161161

162162
function installer.downloadRelease(file, version)

0 commit comments

Comments
 (0)