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,8 +1,8 @@
-- LeonOS installer
local INSTALLER_VERSION = "0.1.9"
local INSTALLER_VERSION = "0.2.0"
local DEFAULT_ROM_DIR = "/leonos"
print("Start loading LeonOS installer...")
print("Start loading LeonOS installer ("..INSTALLER_VERSION..")...")
print("[Installer] Loading module 1")
local function dl(f)
local hand, err = http.get(f, nil, true)
@@ -89,7 +89,7 @@ end
term.at(1, 2)
tu.coloredPrint(colors.yellow,
"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(colors.yellow, "Are you sure? (y/n)")
local confirm = read()