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"