From d4a1ecebc7c7c62e79ab979f5d2cdbd093d9a4b0 Mon Sep 17 00:00:00 2001 From: CakeLancelot Date: Mon, 7 Oct 2024 01:28:29 -0500 Subject: [PATCH] Fix version comparison --- assets/js/server-selector.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/server-selector.js b/assets/js/server-selector.js index effac46..0f02e5c 100644 --- a/assets/js/server-selector.js +++ b/assets/js/server-selector.js @@ -89,7 +89,7 @@ function checkForNewAppVersion() { {}, function (data) { $.each(data, function (index, element) { - if (index === "tag_name" && element > getAppVersion()) { + if (index === "tag_name" && element != remote.require("app").getVersion()) { console.log("New version available: " + element); var downloadPage = "https://github.com/OpenFusionProject/OpenFusionClient/releases/latest";