fix: 更新GitHub资源链接为镜像站点

将原始GitHub资源链接替换为gh.catmak.name镜像站点,并修正分支名称从primary到main
This commit is contained in:
2025-08-31 17:19:26 +08:00
parent 2cdd0449c5
commit 5df704f025
3 changed files with 4 additions and 4 deletions

View File

@@ -18,7 +18,7 @@ textutils.coloredPrint(colors.yellow,
print("Checking for update...")
local http = require("http")
local base = "https://raw.githubusercontent.com/LeonMMcoset/LeonOS/primary/"
local base = "https://gh.catmak.name/https://raw.githubusercontent.com/Leonmmcoset/LeonOS/refs/heads/main/"
local Bhandle, Berr = http.get(base .. "data/computercraft/lua/bios.lua")
if not Bhandle then