From 5d47ad19902fddb619af502d46c21f202f5358a2 Mon Sep 17 00:00:00 2001 From: Leonmmcoset Date: Sun, 31 Aug 2025 20:08:02 +0800 Subject: [PATCH] =?UTF-8?q?refactor(installer):=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=AE=89=E8=A3=85=E7=9B=AE=E5=BD=95=E5=B9=B6?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8F=90=E7=A4=BA=E7=AC=A6=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将默认安装目录从 `/leonos` 改为 `/rc` - 移除提示符中的多余空格 --- installer.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer.lua b/installer.lua index 4ac26ba..31b11c0 100644 --- a/installer.lua +++ b/installer.lua @@ -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