mirror of
https://github.com/CCLeonOS/LeonOS.git
synced 2026-03-03 06:47:00 +00:00
fix: 修改ghload函数使用代理地址下载github文件
将github原始地址修改为通过代理服务访问,解决直接访问github可能被限制的问题
This commit is contained in:
@@ -31,7 +31,7 @@ function term.at(x, y)
|
||||
end
|
||||
print("Run installer step 5")
|
||||
local function ghload(f, c)
|
||||
return assert(load(dl("https://raw.githubusercontent.com/"..f),
|
||||
return assert(load(dl("https://gh.catmak.name/https://raw.githubusercontent.com/"..f),
|
||||
"="..(c or f), "t", _G))()
|
||||
end
|
||||
print("Run installer step 6")
|
||||
|
||||
Reference in New Issue
Block a user