diff --git a/rtmc.lua b/rtmc.lua index 2950a26..ee402ce 100644 --- a/rtmc.lua +++ b/rtmc.lua @@ -347,10 +347,7 @@ rawset(__BUNDLER_FILES, "updater", function () 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" - }; + c:addEntry("startup", "main", "https://git.mcorangehq.xyz/xomf/keypadOS/raw/branch/main/rtmc.lua"); return c end function updater:addEntry(path, branch, url) diff --git a/src/updater.lua b/src/updater.lua index dbd3edc..0155ade 100644 --- a/src/updater.lua +++ b/src/updater.lua @@ -23,10 +23,7 @@ function updater.new() 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" - }; + c:addEntry("startup", "main", "https://git.mcorangehq.xyz/xomf/keypadOS/raw/branch/main/rtmc.lua"); return c end