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:
@@ -4,8 +4,8 @@ local fs = rawget(_G, "fs")
|
||||
local term = rawget(_G, "term")
|
||||
local http = rawget(_G, "http")
|
||||
|
||||
_G._RC_ROM_DIR = _RC_ROM_DIR or "/leonos"
|
||||
if _RC_ROM_DIR == "/rom" then _RC_ROM_DIR = "/leonos" end
|
||||
_G._RC_ROM_DIR = _RC_ROM_DIR or "/rc"
|
||||
if _RC_ROM_DIR == "/rom" then _RC_ROM_DIR = "/rc" end
|
||||
|
||||
-- fail-safe
|
||||
local start_rc = [[
|
||||
|
||||
Reference in New Issue
Block a user