Update basaltPackageManager.lua

This commit is contained in:
Robert Jelic
2022-07-27 10:06:15 +02:00
parent 26b2f5da56
commit bb77a42f91

View File

@@ -1058,13 +1058,11 @@ nil end,setProjectDir=function(bba)dd=bba end}
local basalt = aba
local projectDir = "Basalt"
local basaltGithubToken = "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"
local animTime = 0.2
local animFrames = 8
local function download(url, file)
local httpReq = http.get(url, _G._GIT_API_KEY and {Authorization = basaltGithubToken.." ".._G._GIT_API_KEY})
local httpReq = http.get(url, _G._GIT_API_KEY and {Authorization = token.." ".._G._GIT_API_KEY})
if(httpReq~=nil)then
local content = httpReq.readAll()
if not content then