mirror of
https://github.com/CCLeonOS/LeonOS.git
synced 2026-03-03 15:17:01 +00:00
feat(包管理器): 实现LeonOS包管理系统基础功能
添加包管理器核心程序(pkg.lua)及相关支持文件 - 实现包安装、更新、移除、列表、搜索等功能 - 添加包元数据结构和本地存储管理 - 包含示例包和命令补全支持 - 更新系统版本至0.3.0
This commit is contained in:
@@ -19,7 +19,7 @@ local function drawTopBar()
|
||||
term.setCursorPos(1, 1)
|
||||
|
||||
-- Draw top bar with centered title
|
||||
local title = " LeonOS Calculator "
|
||||
local title = "=== LeonOS Calculator ==="
|
||||
local padding = math.floor((w - #title) / 2)
|
||||
term.write(string.rep(" ", padding) .. title .. string.rep(" ", padding))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user