diff --git a/README.md b/README.md index ef5bfa2..ec5e956 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # LeonOS Use ```shell -wget run https://gh.catmak.name/https://raw.githubusercontent.com/Leonmmcoset/LeonOS/refs/heads/main/installer.lua +wget run https://gh.catmak.name/https://raw.githubusercontent.com/CCLeonOS/LeonOS/refs/heads/main/installer.lua ``` to install the LeonOS system. diff --git a/data/computercraft/lua/bios.lua b/data/computercraft/lua/bios.lua index 59beb2d..f53208e 100644 --- a/data/computercraft/lua/bios.lua +++ b/data/computercraft/lua/bios.lua @@ -1,4 +1,4 @@ -_G._HOST = _G._HOST .. " (LeonOS 1.0.2)" +_G._HOST = _G._HOST .. " (LeonOS 1.0.3)" local fs = rawget(_G, "fs") _G._RC_ROM_DIR = _RC_ROM_DIR or (...) and fs.exists("/leonos") and "/leonos" or "/rom" @@ -32,7 +32,7 @@ local rc = { _VERSION = { major = 1, minor = 0, - patch = 2 + patch = 3 }, queueEvent = pull(os, "queueEvent"), startTimer = pull(os, "startTimer"), diff --git a/data/computercraft/lua/rom/update.lua b/data/computercraft/lua/rom/update.lua index 26fde2a..e6ebe85 100644 --- a/data/computercraft/lua/rom/update.lua +++ b/data/computercraft/lua/rom/update.lua @@ -40,7 +40,7 @@ textutils.coloredPrint(colors.yellow, print("Checking for update...") local http = require("http") -local base = "https://gh.catmak.name/https://raw.githubusercontent.com/Leonmmcoset/LeonOS/refs/heads/main/" +local base = "https://gh.catmak.name/https://raw.githubusercontent.com/CCLeonOS/LeonOS/refs/heads/main/" local Bhandle, Berr = http.get(base .. "data/computercraft/lua/bios.lua") if not Bhandle then diff --git a/installer.lua b/installer.lua index 51f9a64..f2120ef 100644 --- a/installer.lua +++ b/installer.lua @@ -1,5 +1,5 @@ -- LeonOS installer -local INSTALLER_VERSION = "1.0.2" +local INSTALLER_VERSION = "1.0.3 Beta 1" local DEFAULT_ROM_DIR = "/leonos" print("Start loading LeonOS installer ("..INSTALLER_VERSION..")...") @@ -47,7 +47,7 @@ print("[Installer] Loading done.") print("[Installer] Loading module 7") local function rcload(f) return ghload( - "Leonmmcoset/LeonOS/refs/heads/main/data/computercraft/lua/rom/"..f, f) + "CCLeonOS/LeonOS/refs/heads/main/data/computercraft/lua/rom/"..f, f) end print("[Installer] Loading done.") print("[Installer] Loading module 8") @@ -123,7 +123,7 @@ end bullet("Getting repository tree...") -local repodata = dl("https://gh.catmak.name/https://api.github.com/repos/Leonmmcoset/LeonOS/git/trees/main?recursive=1") +local repodata = dl("https://gh.catmak.name/https://api.github.com/repos/CCLeonOS/LeonOS/git/trees/main?recursive=1") repodata = json.decode(repodata) @@ -179,7 +179,7 @@ for i=1, #to_dl, 1 do local v = to_dl[i] if v.type == "blob" then parallels[#parallels+1] = function() - local data = dl("https://gh.catmak.name/https://raw.githubusercontent.com/Leonmmcoset/LeonOS/refs/heads/main/data/computercraft/lua/"..v.path) + local data = dl("https://gh.catmak.name/https://raw.githubusercontent.com/CCLeonOS/LeonOS/refs/heads/main/data/computercraft/lua/"..v.path) assert(io.open(v.real_path, "w")):write(data):close() done = done + 1 progress(pby, done, #to_dl) @@ -197,7 +197,7 @@ bullet("Downloading startup file...") assert(io.open( fs.exists("/startup.lua") and "/unbios-rc.lua" or "/startup.lua", "w")) :write(dl( - "https://gh.catmak.name/https://raw.githubusercontent.com/Leonmmcoset/LeonOS/refs/heads/main/unbios.lua" + "https://gh.catmak.name/https://raw.githubusercontent.com/CCLeonOS/LeonOS/refs/heads/main/unbios.lua" )):close() ok()