mirror of
https://github.com/kepler155c/opus
synced 2025-05-07 18:04:14 +00:00
Update git.lua
This commit is contained in:
parent
f21ff42e44
commit
16843bdb78
@ -8,6 +8,10 @@ local TREE_URL = 'https://api.github.com/repos/%s/%s/git/trees/%s?recursive=1'
|
||||
local FILE_URL = 'https://raw.githubusercontent.com/%s/%s/%s/%s'
|
||||
local git = { }
|
||||
|
||||
if _G._GIT_API_KEY then
|
||||
TREE_URL = TREE_URL .. '&access_token=' .. _G._GIT_API_KEY
|
||||
end
|
||||
|
||||
local fs = _G.fs
|
||||
local os = _G.os
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user