From 3dfab205203d532355ccc515843d47cc05f0aa24 Mon Sep 17 00:00:00 2001 From: Leonmmcoset Date: Tue, 2 Sep 2025 14:27:46 +0800 Subject: [PATCH] =?UTF-8?q?fix(commands):=20=E4=BF=AE=E5=A4=8D=E5=91=BD?= =?UTF-8?q?=E4=BB=A4=E5=B8=AE=E5=8A=A9=E4=BF=A1=E6=81=AF=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E5=AD=97=E7=AC=A6=E4=B8=B2=E6=A0=BC=E5=BC=8F=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将多行字符串的引号格式从错误的分行写法修正为使用双括号语法,确保命令帮助信息能正确显示 --- data/computercraft/lua/rom/programs/commands.lua | 4 ++-- installer.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/data/computercraft/lua/rom/programs/commands.lua b/data/computercraft/lua/rom/programs/commands.lua index 4a8c992..c1e958d 100644 --- a/data/computercraft/lua/rom/programs/commands.lua +++ b/data/computercraft/lua/rom/programs/commands.lua @@ -8,8 +8,8 @@ local function printHelp() print("Options:") print(" --help, -h Show this help message") print(" --verbose, -v Show command file paths") - print(" -Lists all available commands in LeonOS.") + print([[ +Lists all available commands in LeonOS.]]) end -- 主函数 diff --git a/installer.lua b/installer.lua index a57049d..02a2b7c 100644 --- a/installer.lua +++ b/installer.lua @@ -1,5 +1,5 @@ -- LeonOS installer -local INSTALLER_VERSION = "0.3.7 Beta 5" +local INSTALLER_VERSION = "0.3.7 Beta 6" local DEFAULT_ROM_DIR = "/leonos" print("Start loading LeonOS installer ("..INSTALLER_VERSION..")...")