fix: 更新版本号至0.3.1并修复空参数问题

更新installer.lua、bios.lua和pkg.lua中的版本号至0.3.1
在pkg.lua中添加参数过滤逻辑,避免空参数导致的问题
This commit is contained in:
2025-09-01 22:10:50 +08:00
parent fb33b53b42
commit 625f959b4e
3 changed files with 12 additions and 4 deletions

View File

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