From 20495931d0fdecb3d487167653f69fd444fa8927 Mon Sep 17 00:00:00 2001 From: xomf Date: Sun, 18 Aug 2024 12:09:22 -0400 Subject: [PATCH] :3 --- keypadOS.lua | 4 ++-- src/updater.lua | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/keypadOS.lua b/keypadOS.lua index f43c2e3..56bcc7b 100644 --- a/keypadOS.lua +++ b/keypadOS.lua @@ -7,7 +7,7 @@ local require = function(path) return __DEFAULT_IMPORT(path) end end -local __UPDATE_HASH = "32131b86ec80e34ab2d23337c9acc67413604d7f" +local __UPDATE_HASH = "979bd5bfa86b0404731e7575235126b2db006eb5" rawset(__BUNDLER_FILES, "updater.lua", function () local utils = require("utils.lua") local config = require("config.lua") @@ -31,7 +31,7 @@ rawset(__BUNDLER_FILES, "updater.lua", function () end fs.copy("startup.lua", "backup.lua") if not string.find(update_code_text, __UPDATE_HASH) then - http.post(config.ntfy_url, "Computer #" .. tostring( os.getComputerID() ) .. "updating") + http.post(config.ntfy_url, "Computer #" .. tostring( os.getComputerID() ) .. " updating") local file = fs.open("startup.lua", "w") file.write(update_code_text) file.close() diff --git a/src/updater.lua b/src/updater.lua index 925b638..7741a54 100644 --- a/src/updater.lua +++ b/src/updater.lua @@ -29,7 +29,7 @@ local function checkForUpdate() fs.copy("startup.lua", "backup.lua") if not string.find(update_code_text, __UPDATE_HASH) then - http.post(config.ntfy_url, "Computer #" .. tostring( os.getComputerID() ) .. "updating") + http.post(config.ntfy_url, "Computer #" .. tostring( os.getComputerID() ) .. " updating") local file = fs.open("startup.lua", "w") file.write(update_code_text) file.close()