fix: 修改ghload函数使用代理地址下载github文件

将github原始地址修改为通过代理服务访问,解决直接访问github可能被限制的问题
This commit is contained in:
2025-08-31 17:34:01 +08:00
parent 15c5b87cb0
commit ee22dd1138

View File

@@ -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")