Skip to content
This repository was archived by the owner on Jan 19, 2025. It is now read-only.

Commit d4a1ece

Browse files
committed
Fix version comparison
1 parent 323b5a3 commit d4a1ece

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

assets/js/server-selector.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function checkForNewAppVersion() {
8989
{},
9090
function (data) {
9191
$.each(data, function (index, element) {
92-
if (index === "tag_name" && element > getAppVersion()) {
92+
if (index === "tag_name" && element != remote.require("app").getVersion()) {
9393
console.log("New version available: " + element);
9494
var downloadPage =
9595
"https://github.com/OpenFusionProject/OpenFusionClient/releases/latest";

0 commit comments

Comments
 (0)