chore: 更新版本号至0.3.2并重构pkg命令补全逻辑

将installer.lua和bios.lua中的版本号从0.3.1更新至0.3.2
使用completion.build重构pkg命令补全逻辑,简化代码结构
This commit is contained in:
2025-09-01 22:14:57 +08:00
parent 625f959b4e
commit 7ebd710a3c
3 changed files with 6 additions and 31 deletions

View File

@@ -1,4 +1,4 @@
_G._HOST = _G._HOST .. " (LeonOS 0.3.1)"
_G._HOST = _G._HOST .. " (LeonOS 0.3.2)"
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 = 1
patch = 2
},
queueEvent = pull(os, "queueEvent"),
startTimer = pull(os, "startTimer"),