From c31606c5bc2010cd8727e6880bc60fd6aa172d09 Mon Sep 17 00:00:00 2001 From: MCorange Date: Sun, 25 Aug 2024 22:06:55 +0300 Subject: [PATCH] :3 --- rtmc.lua | 1 + src/updater.lua | 1 + 2 files changed, 2 insertions(+) diff --git a/rtmc.lua b/rtmc.lua index a47fa9a..766737a 100644 --- a/rtmc.lua +++ b/rtmc.lua @@ -338,6 +338,7 @@ rawset(__BUNDLER_FILES, "updater.lua", function () c.threshold = ((20*60)/24/60) * 5; c.api_url = "https://git.mcorangehq.xyz/api/v1/repos/xomf/keypadOS"; c.curr_commit_hash = ""; + c.updated_files = {}; c.updated_files["startup.lua"] = { url = "https://git.mcorangehq.xyz/xomf/keypadOS/raw/branch/main/rtmc.lua", branch = "main" diff --git a/src/updater.lua b/src/updater.lua index 9e7efde..7699602 100644 --- a/src/updater.lua +++ b/src/updater.lua @@ -21,6 +21,7 @@ function updater.new() c.threshold = ((20*60)/24/60) * 5; c.api_url = "https://git.mcorangehq.xyz/api/v1/repos/xomf/keypadOS"; c.curr_commit_hash = ""; + c.updated_files = {}; c.updated_files["startup.lua"] = { url = "https://git.mcorangehq.xyz/xomf/keypadOS/raw/branch/main/rtmc.lua", branch = "main"