chore: 更新版本号至0.2.0并同步相关文件

更新bios.lua和installer.lua中的版本号至0.2.0,确保安装程序和系统版本信息一致
This commit is contained in:
2025-09-01 16:58:36 +08:00
parent 62d62ef14d
commit 2c2717d477
2 changed files with 6 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
_G._HOST = _G._HOST .. " (LeonOS 0.1.9)" _G._HOST = _G._HOST .. " (LeonOS 0.2.0)"
local fs = rawget(_G, "fs") local fs = rawget(_G, "fs")
_G._RC_ROM_DIR = _RC_ROM_DIR or (...) and fs.exists("/leonos") and "/leonos" or "/rom" _G._RC_ROM_DIR = _RC_ROM_DIR or (...) and fs.exists("/leonos") and "/leonos" or "/rom"
@@ -31,8 +31,8 @@ local rc = {
_NAME = "LeonOS", _NAME = "LeonOS",
_VERSION = { _VERSION = {
major = 0, major = 0,
minor = 1, minor = 2,
patch = 9 patch = 0
}, },
queueEvent = pull(os, "queueEvent"), queueEvent = pull(os, "queueEvent"),
startTimer = pull(os, "startTimer"), startTimer = pull(os, "startTimer"),

View File

@@ -1,8 +1,8 @@
-- LeonOS installer -- LeonOS installer
local INSTALLER_VERSION = "0.1.9" local INSTALLER_VERSION = "0.2.0"
local DEFAULT_ROM_DIR = "/leonos" local DEFAULT_ROM_DIR = "/leonos"
print("Start loading LeonOS installer...") print("Start loading LeonOS installer ("..INSTALLER_VERSION..")...")
print("[Installer] Loading module 1") print("[Installer] Loading module 1")
local function dl(f) local function dl(f)
local hand, err = http.get(f, nil, true) local hand, err = http.get(f, nil, true)
@@ -89,7 +89,7 @@ end
term.at(1, 2) term.at(1, 2)
tu.coloredPrint(colors.yellow, tu.coloredPrint(colors.yellow,
"LeonOS Installer (v"..INSTALLER_VERSION..")\n=======================") "LeonOS Installer (v"..INSTALLER_VERSION..")\n=======================")
tu.coloredPrint("You are going to install LeonOS "..rc.version().." to your computer.") tu.coloredPrint("You are going to install LeonOS "..INSTALLER_VERSION.." to your computer.")
tu.coloredPrint("This will ",colors.red,"OVERWRITE any existing files", colors.white, " in the computer.") tu.coloredPrint("This will ",colors.red,"OVERWRITE any existing files", colors.white, " in the computer.")
tu.coloredPrint(colors.yellow, "Are you sure? (y/n)") tu.coloredPrint(colors.yellow, "Are you sure? (y/n)")
local confirm = read() local confirm = read()