diff --git a/data/computercraft/lua/rom/programs/appdelete.lua b/data/computercraft/lua/rom/programs/appdelete.lua index c22643d..96ec323 100644 --- a/data/computercraft/lua/rom/programs/appdelete.lua +++ b/data/computercraft/lua/rom/programs/appdelete.lua @@ -3,7 +3,6 @@ local fs = require("fs") local tu = require("textutils") local shell = require("shell") -local read = require("read") local function show_help() print("Usage: appdelete [options]") @@ -41,7 +40,7 @@ local function delete_app(app_name, force) -- 确认删除 if not force then print("Are you sure you want to delete '" .. app_name .. "'? (y/n)") - local confirm = read() + local confirm = io.read() if confirm ~= "y" and confirm ~= "yes" then print("Deletion cancelled.") return false diff --git a/installer.lua b/installer.lua index fccfb21..a09ed23 100644 --- a/installer.lua +++ b/installer.lua @@ -1,5 +1,5 @@ -- LeonOS installer -local INSTALLER_VERSION = "0.3.7 Beta 3" +local INSTALLER_VERSION = "0.3.7 Beta 4" local DEFAULT_ROM_DIR = "/leonos" print("Start loading LeonOS installer ("..INSTALLER_VERSION..")...")