feat: 更新版本号至1.0.2并移除catos程序

更新LeonOS版本号至1.0.2,修改GitHub API基础URL为代理地址
移除不再使用的catos.lua安装程序
在安装器中添加下载启动文件的进度提示
This commit is contained in:
2025-09-09 17:56:59 +08:00
parent f3d6218a7b
commit ef76f6db50
4 changed files with 6 additions and 72 deletions

View File

@@ -1,5 +1,5 @@
-- LeonOS installer
local INSTALLER_VERSION = "1.0.1"
local INSTALLER_VERSION = "1.0.2"
local DEFAULT_ROM_DIR = "/leonos"
print("Start loading LeonOS installer ("..INSTALLER_VERSION..")...")
@@ -193,11 +193,13 @@ term.at(1, pby).write((" "):rep((term.getSize())))
term.at(okx, oky)
ok()
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"
)):close()
ok()
tu.coloredPrint(colors.yellow, "Your computer will restart in 3 seconds.")
local _, y = term.getCursorPos()