feat(pkg): 更新包管理系统并升级至LeonOS 0.3.6

- 将包安装目录从/leonos/packages迁移至/packages
- 更新版本号至0.3.6
- 修改installer.lua以正确处理packages目录
- 更新pkg.lua程序适配新的包路径
- 添加示例包文件到新位置
This commit is contained in:
2025-09-02 09:51:29 +08:00
parent 5bf8abf22f
commit 9867d4522c
7 changed files with 16 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
_G._HOST = _G._HOST .. " (LeonOS 0.3.5)"
_G._HOST = _G._HOST .. " (LeonOS 0.3.6)"
local fs = rawget(_G, "fs")
_G._RC_ROM_DIR = _RC_ROM_DIR or (...) and fs.exists("/leonos") and "/leonos" or "/rom"
@@ -31,8 +31,8 @@ local rc = {
_NAME = "LeonOS",
_VERSION = {
major = 0,
minor = 3,
patch = 5
minor = 3,
patch = 6
},
queueEvent = pull(os, "queueEvent"),
startTimer = pull(os, "startTimer"),