feat: 添加计算器程序并更新版本至0.2.7

添加新的计算器程序calc.lua,包含完整的计算功能和界面
移除shell.lua中的错误窗口功能,改为直接输出错误信息
更新installer.lua和bios.lua中的版本号至0.2.7
添加calc命令的自动补全功能
This commit is contained in:
2025-09-01 20:49:38 +08:00
parent 94da18cc24
commit 47b8b5cd2c
5 changed files with 101 additions and 96 deletions

View File

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