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

修改多个文件中的默认路径变量,将/leonos统一替换为/rc,以简化路径命名并保持一致性
This commit is contained in:
2025-09-01 10:33:32 +08:00
parent 2b26c66112
commit 3009389313
13 changed files with 18 additions and 18 deletions

View File

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