mirror of
https://github.com/CCLeonOS/LeonOS.git
synced 2026-03-03 15:17:01 +00:00
fix: 更新安装程序中的仓库分支引用和版本显示
将GitHub仓库的默认分支从'primary'更新为'main'以匹配实际分支名称 移除安装程序标题中的版本号'1.0'以简化显示
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user