From 15c5b87cb0f979bfec279fe09e4eb057c81a6abd Mon Sep 17 00:00:00 2001 From: Leonmmcoset Date: Sun, 31 Aug 2025 17:32:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0=E5=AE=89=E8=A3=85?= =?UTF-8?q?=E7=A8=8B=E5=BA=8F=E4=B8=AD=E7=9A=84=E4=BB=93=E5=BA=93=E5=88=86?= =?UTF-8?q?=E6=94=AF=E5=BC=95=E7=94=A8=E5=92=8C=E7=89=88=E6=9C=AC=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将GitHub仓库的默认分支从'primary'更新为'main'以匹配实际分支名称 移除安装程序标题中的版本号'1.0'以简化显示 --- installer.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer.lua b/installer.lua index b8d0ea7..099cba1 100644 --- a/installer.lua +++ b/installer.lua @@ -59,7 +59,7 @@ end print("Run installer step 9") term.at(1,1).clear() tu.coloredPrint(colors.yellow, - "LeonOS Installer 1.0\n=======================") + "LeonOS Installer\n=======================") local ROM_DIR tu.coloredPrint("Enter installation directory ", colors.yellow, "[", @@ -87,7 +87,7 @@ end bullet("Getting repository tree...") -local repodata = dl("https://api.github.com/repos/Leonmmcoset/LeonOS/git/trees/primary?recursive=1") +local repodata = dl("https://api.github.com/repos/Leonmmcoset/LeonOS/git/trees/main?recursive=1") repodata = json.decode(repodata)