mirror of
https://github.com/CCLeonOS/LeonOS.git
synced 2026-03-03 15:17:01 +00:00
docs(installer): 更新安装程序版本并添加备份提示
更新安装程序版本号至0.3.8 Beta 3 Alpha 1 在确认安装前添加提示用户备份现有文件的说明
This commit is contained in:
2869
data/computercraft/lua/rom/apis/basalt.lua
Normal file
2869
data/computercraft/lua/rom/apis/basalt.lua
Normal file
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
|||||||
-- LeonOS installer
|
-- LeonOS installer
|
||||||
local INSTALLER_VERSION = "0.3.8 Beta 1"
|
local INSTALLER_VERSION = "0.3.8 Beta 3 Alpha 1"
|
||||||
local DEFAULT_ROM_DIR = "/leonos"
|
local DEFAULT_ROM_DIR = "/leonos"
|
||||||
|
|
||||||
print("Start loading LeonOS installer ("..INSTALLER_VERSION..")...")
|
print("Start loading LeonOS installer ("..INSTALLER_VERSION..")...")
|
||||||
@@ -92,6 +92,7 @@ tu.coloredPrint(colors.yellow,
|
|||||||
"LeonOS Installer (v"..INSTALLER_VERSION..")\n=======================")
|
"LeonOS Installer (v"..INSTALLER_VERSION..")\n=======================")
|
||||||
tu.coloredPrint("You are going to install LeonOS "..INSTALLER_VERSION.." to your computer.")
|
tu.coloredPrint("You are going to install LeonOS "..INSTALLER_VERSION.." to your computer.")
|
||||||
tu.coloredPrint("This will ",colors.red,"OVERWRITE any existing files", colors.white, " in the computer.")
|
tu.coloredPrint("This will ",colors.red,"OVERWRITE any existing files", colors.white, " in the computer.")
|
||||||
|
tu.coloredPrint("If you want to keep the existing files, please backup them first.")
|
||||||
tu.coloredPrint(colors.yellow, "Are you sure? (y/n)")
|
tu.coloredPrint(colors.yellow, "Are you sure? (y/n)")
|
||||||
local confirm = read()
|
local confirm = read()
|
||||||
if confirm ~= "y" then
|
if confirm ~= "y" then
|
||||||
|
|||||||
Reference in New Issue
Block a user