From cfc3374897ffee812d62acc29f1c87a02ef4653a Mon Sep 17 00:00:00 2001 From: MCorange Date: Sun, 25 Aug 2024 23:01:19 +0300 Subject: [PATCH] :3 --- rtmc.lua | 3 +++ src/updater.lua | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/rtmc.lua b/rtmc.lua index b0cc4d4..5aa9708 100644 --- a/rtmc.lua +++ b/rtmc.lua @@ -399,6 +399,9 @@ rawset(__BUNDLER_FILES, "updater", function () log.debug("Commit hash doesnt match, probbably an update"); return true; end + if branch == "main" then + log.debug("No need for an update"); + end return false; end function updater:update(path, url) diff --git a/src/updater.lua b/src/updater.lua index 386e00a..3b14df2 100644 --- a/src/updater.lua +++ b/src/updater.lua @@ -82,7 +82,9 @@ function updater:check(branch) log.debug("Commit hash doesnt match, probbably an update"); return true; end - + if branch == "main" then + log.debug("No need for an update"); + end return false; end