feat: 添加ver命令并更新LeonOS版本至0.1.8

- 新增ver命令用于显示LeonOS版本信息
- 更新installer.lua和bios.lua中的版本号至0.1.8
- 为ver命令添加shell别名和补全功能
This commit is contained in:
2025-09-01 16:29:34 +08:00
parent d911c3af34
commit 565da37a34
5 changed files with 16 additions and 4 deletions

View File

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