mirror of
https://github.com/CCLeonOS/LeonOS.git
synced 2026-03-03 06:47:00 +00:00
refactor: 将默认路径从/leonos更改为/rc
修改多个文件中的默认路径变量,将/leonos统一替换为/rc,以简化路径命名并保持一致性
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user