feat(文件列表): 增强list命令功能并更新文档

- 为list命令添加详细模式(-l参数),显示文件大小和类型信息
- 改进文件列表显示格式,添加标题、分隔线和统计信息
- 根据文件类型和扩展名显示不同颜色
- 更新README.md中的安装说明
- 将bios.lua中的reboot重命名为restart以保持一致性
This commit is contained in:
2025-08-31 19:20:50 +08:00
parent 214bcecf7b
commit f992cdab31
3 changed files with 130 additions and 31 deletions

View File

@@ -1,15 +1,6 @@
# LeonOS
###### look, mom, a proper Markdown readme!
LeonOS is a reimplementation of [CC: Tweaked](https://github.com/CC-Tweaked/CC-Tweaked)'s LeonOS, intended to be cleaner and easier than the original LeonOS.
Key changes:
- No. More. CCPL!!
- All previously global APIs (with the exception of the standard Lua ones) have been removed.
- Non-standard `os` API functions are now in the `rc` table, e.g. `os.sleep` becomes `rc.sleep` or `os.pullEvent` becomes `rc.pullEvent`.
- Native support for proper thread management (`parallel` implementation builds on this)
- Multishell works even on standard computers, and is navigable with keyboard shortcuts!
See [the LeonOS website](https://ocaweso.me/LeonOS) for more details.
Use
```shell
wget run https://gh.catmak.name/https://raw.githubusercontent.com/Leonmmcoset/LeonOS/refs/heads/main/install.lua
```
to install the LeonOS system.