From 2c2717d477f25bd5feea08f01839006770d0a4f7 Mon Sep 17 00:00:00 2001 From: Leonmmcoset Date: Mon, 1 Sep 2025 16:58:36 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=E8=87=B30.2.0=E5=B9=B6=E5=90=8C=E6=AD=A5=E7=9B=B8?= =?UTF-8?q?=E5=85=B3=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 更新bios.lua和installer.lua中的版本号至0.2.0,确保安装程序和系统版本信息一致 --- data/computercraft/lua/bios.lua | 6 +++--- installer.lua | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/data/computercraft/lua/bios.lua b/data/computercraft/lua/bios.lua index 26c9cd5..9fb1659 100644 --- a/data/computercraft/lua/bios.lua +++ b/data/computercraft/lua/bios.lua @@ -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") _G._RC_ROM_DIR = _RC_ROM_DIR or (...) and fs.exists("/leonos") and "/leonos" or "/rom" @@ -31,8 +31,8 @@ local rc = { _NAME = "LeonOS", _VERSION = { major = 0, - minor = 1, - patch = 9 + minor = 2, + patch = 0 }, queueEvent = pull(os, "queueEvent"), startTimer = pull(os, "startTimer"), diff --git a/installer.lua b/installer.lua index da8b6c8..e336a00 100644 --- a/installer.lua +++ b/installer.lua @@ -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()