From 207a856b46ed6547c12c9613c8064accdcc3a72e Mon Sep 17 00:00:00 2001 From: Leonmmcoset Date: Tue, 2 Sep 2025 17:15:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E5=AE=89=E8=A3=85?= =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E7=89=88=E6=9C=AC=E5=8F=B7=E5=B9=B6=E7=AE=80?= =?UTF-8?q?=E5=8C=96shell=E6=8F=90=E7=A4=BA=E7=AC=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将安装程序版本号从0.3.7 Beta 10更新至0.3.7 Beta 11 - 移除shell启动时的欢迎图像和文字 - 将shell提示符从">>>"简化为"#" --- data/computercraft/lua/rom/programs/shell.lua | 16 ++++++++-------- installer.lua | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/data/computercraft/lua/rom/programs/shell.lua b/data/computercraft/lua/rom/programs/shell.lua index 3cddc5a..dc15cdf 100644 --- a/data/computercraft/lua/rom/programs/shell.lua +++ b/data/computercraft/lua/rom/programs/shell.lua @@ -82,17 +82,17 @@ for _, prog in ipairs(fs.list(completions)) do end local history = {} -local image = paintutils.parseImage([[ - f f +-- local image = paintutils.parseImage([[ +-- f f -f f - ffff -]]) -paintutils.drawImage(image, term.getCursorPos()) -textutils.coloredPrint(colors.yellow, "Welcome using the beta version of LeonOS!", colors.white) +-- f f +-- ffff +-- ]]) +-- paintutils.drawImage(image, term.getCursorPos()) +-- textutils.coloredPrint(colors.yellow, "Welcome using the beta version of LeonOS!", colors.white) while true do term.setTextColor(colors.yellow) - rc.write("$ "..shell.dir().." >>> ") + rc.write("$ "..shell.dir().." # ") term.setTextColor(colors.white) local text = term.read(nil, history, shell.complete) diff --git a/installer.lua b/installer.lua index 522694b..4b2033d 100644 --- a/installer.lua +++ b/installer.lua @@ -1,5 +1,5 @@ -- LeonOS installer -local INSTALLER_VERSION = "0.3.7 Beta 10" +local INSTALLER_VERSION = "0.3.7 Beta 11" local DEFAULT_ROM_DIR = "/leonos" print("Start loading LeonOS installer ("..INSTALLER_VERSION..")...")