refactor: 将默认路径从/rc更改为/leonos

更新所有相关文件中的路径引用,统一使用/leonos作为系统目录。同时更新版本号至0.1.7。
This commit is contained in:
2025-09-01 11:03:43 +08:00
parent 3aeefb94c5
commit 976769de2d
14 changed files with 35 additions and 35 deletions

View File

@@ -1,7 +1,7 @@
_G._HOST = _G._HOST .. " (LeonOS 0.1.2)"
_G._HOST = _G._HOST .. " (LeonOS 0.1.7)"
local fs = rawget(_G, "fs")
_G._RC_ROM_DIR = _RC_ROM_DIR or (...) and fs.exists("/rc") and "/rc" or "/rom"
_G._RC_ROM_DIR = _RC_ROM_DIR or (...) and fs.exists("/leonos") and "/leonos" or "/rom"
if fs.exists("/.start_rc.lua") and not (...) then
_G._RC_USED_START = true