diff --git a/build/_offline.lua b/build/_offline.lua index 883170e..59cd53c 100644 --- a/build/_offline.lua +++ b/build/_offline.lua @@ -108,7 +108,7 @@ write_install() green() print("Done!") white() -print("Use can use the freshly installed 'ccmsim' program to manage your off-line installation.") +print("All files have been installed. The app can be started with 'startup' and configured with 'configure'.") lgray() -print("You do not need to run it now though, your system is all ready to start! Launch with 'startup'.") +print("Hint: You can use 'ccmsim' to manage your off-line installation.") white() diff --git a/build/ccmsim.lua b/build/ccmsim.lua index 8dc11ce..a265076 100644 --- a/build/ccmsim.lua +++ b/build/ccmsim.lua @@ -182,6 +182,7 @@ elseif mode == "update-rm" or mode == "uninstall" then local dependencies = manifest.depends -- delete all installed files + lgray() for _, dependency in pairs(dependencies) do local files = file_list[dependency] for _, file in pairs(files) do @@ -204,7 +205,6 @@ elseif mode == "update-rm" or mode == "uninstall" then local log_deleted = false local settings_file = app..".settings" - lgray() if fs.exists(settings_file) and settings.load(settings_file) then local log = settings.get("LogPath") if log ~= nil then @@ -217,9 +217,7 @@ elseif mode == "update-rm" or mode == "uninstall" then end if not log_deleted then - red();println("Failed to delete log file.") - white();println("press any key to continue...") - any_key();lgray() + red();println("Failed to delete log file (it may not exist).");lgray() end if mode == "uninstall" then diff --git a/ccmsi.lua b/ccmsi.lua index 76210da..b056a9f 100644 --- a/ccmsi.lua +++ b/ccmsi.lua @@ -540,6 +540,7 @@ elseif mode == "uninstall" then table.insert(dependencies, app) -- delete all installed files + lgray() for _, dependency in pairs(dependencies) do local files = file_list[dependency] for _, file in pairs(files) do @@ -562,7 +563,6 @@ elseif mode == "uninstall" then local log_deleted = false local settings_file = app..".settings" - lgray() if fs.exists(settings_file) and settings.load(settings_file) then local log = settings.get("LogPath") if log ~= nil then @@ -575,9 +575,7 @@ elseif mode == "uninstall" then end if not log_deleted then - red();println("Failed to delete log file.") - white();println("press any key to continue...") - any_key();lgray() + red();println("Failed to delete log file (it may not exist).");lgray() end if fs.exists(settings_file) then