mirror of
https://github.com/CCLeonOS/LeonOS.git
synced 2026-03-03 15:17:01 +00:00
refactor(installer): 修改默认安装目录并优化提示符格式
- 将默认安装目录从 `/leonos` 改为 `/rc` - 移除提示符中的多余空格
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
-- LeonOS installer
|
||||
|
||||
local DEFAULT_ROM_DIR = "/leonos"
|
||||
local DEFAULT_ROM_DIR = "/rc"
|
||||
print("Downloading required libraries...")
|
||||
print("Run installer step 1")
|
||||
local function dl(f)
|
||||
@@ -64,7 +64,7 @@ tu.coloredPrint(colors.yellow,
|
||||
local ROM_DIR
|
||||
tu.coloredPrint("Enter installation directory ", colors.yellow, "[",
|
||||
colors.lightBlue, DEFAULT_ROM_DIR, colors.yellow, "]")
|
||||
tu.coloredWrite(colors.yellow, "$ installer >>> ")
|
||||
tu.coloredWrite(colors.yellow, "$ installer >>>")
|
||||
|
||||
ROM_DIR = read()
|
||||
if #ROM_DIR == 0 then ROM_DIR = DEFAULT_ROM_DIR end
|
||||
|
||||
Reference in New Issue
Block a user