From 55ccdd63d49f6eaa42777eabbbc76ed126257c76 Mon Sep 17 00:00:00 2001 From: Mikayla Fischler Date: Sun, 17 Dec 2023 12:55:00 -0500 Subject: [PATCH] don't mention config.lua on update for apps that don't have it --- ccmsi.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ccmsi.lua b/ccmsi.lua index 19ccebc..fd46d67 100644 --- a/ccmsi.lua +++ b/ccmsi.lua @@ -18,7 +18,7 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. local function println(message) print(tostring(message)) end local function print(message) term.write(tostring(message)) end -local CCMSI_VERSION = "v1.11c" +local CCMSI_VERSION = "v1.11d" local install_dir = "/.install-cache" local manifest_path = "https://mikaylafischler.github.io/cc-mek-scada/manifests/" @@ -347,7 +347,9 @@ elseif mode == "install" or mode == "update" then if mode == "install" then println("Installing " .. app .. " files...") elseif mode == "update" then - println("Updating " .. app .. " files... (keeping old config.lua)") + if app == "coordinator" or app == "pocket" then + println("Updating " .. app .. " files... (keeping old config.lua)") + else println("Updating " .. app .. " files...") end end white()