From d925494346c92b698f093b2006387206c6727ff0 Mon Sep 17 00:00:00 2001 From: Leonmmcoset Date: Mon, 1 Sep 2025 22:20:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=8F=B7=E8=87=B30.3.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复pkg命令的自动补全功能并同步更新所有相关文件中的版本号 --- data/computercraft/lua/bios.lua | 4 ++-- data/computercraft/lua/rom/completions/pkg.lua | 2 +- installer.lua | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/data/computercraft/lua/bios.lua b/data/computercraft/lua/bios.lua index 1658356..2bae903 100644 --- a/data/computercraft/lua/bios.lua +++ b/data/computercraft/lua/bios.lua @@ -1,4 +1,4 @@ -_G._HOST = _G._HOST .. " (LeonOS 0.3.2)" +_G._HOST = _G._HOST .. " (LeonOS 0.3.3)" local fs = rawget(_G, "fs") _G._RC_ROM_DIR = _RC_ROM_DIR or (...) and fs.exists("/leonos") and "/leonos" or "/rom" @@ -32,7 +32,7 @@ local rc = { _VERSION = { major = 0, minor = 3, - patch = 2 + patch = 3 }, queueEvent = pull(os, "queueEvent"), startTimer = pull(os, "startTimer"), diff --git a/data/computercraft/lua/rom/completions/pkg.lua b/data/computercraft/lua/rom/completions/pkg.lua index 4398364..06dafd2 100644 --- a/data/computercraft/lua/rom/completions/pkg.lua +++ b/data/computercraft/lua/rom/completions/pkg.lua @@ -2,5 +2,5 @@ local shell = require("shell") local completion = require("cc.shell.completion") shell.setCompletionFunction("pkg", completion.build( - completion.choice{"install", "update", "remove", "list", "search", "info", "help"}, + )) diff --git a/installer.lua b/installer.lua index 7eae902..04389fa 100644 --- a/installer.lua +++ b/installer.lua @@ -1,5 +1,5 @@ -- LeonOS installer -local INSTALLER_VERSION = "0.3.2" +local INSTALLER_VERSION = "0.3.3" local DEFAULT_ROM_DIR = "/leonos" print("Start loading LeonOS installer ("..INSTALLER_VERSION..")...")