Fix version comparison

This commit is contained in:
CakeLancelot 2024-10-07 01:28:29 -05:00
parent 323b5a3385
commit d4a1ecebc7

View File

@ -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";