mirror of
https://github.com/CCLeonOS/LeonOS.git
synced 2026-03-03 15:17:01 +00:00
fix: 更新安装器版本并修复catos.lua中的读取函数
将安装器版本从1.0.1 Beta 2更新至1.0.1 Beta 3 将catos.lua中的read()替换为term.read()以使用正确的终端读取函数
This commit is contained in:
@@ -11,7 +11,7 @@ local SITE = "https://catos.cpolar.cn"
|
||||
textutils.coloredPrint("You are going to install CatOS to your computer.")
|
||||
textutils.coloredPrint("We suggest you backup the files before install the CatOS.")
|
||||
textutils.coloredPrint(colors.yellow, "Are you sure? (y/n)")
|
||||
local confirm = read()
|
||||
local confirm = term.read()
|
||||
if confirm ~= "y" then
|
||||
print("Installation cancelled.")
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user