Skip to content

Commit

Permalink
Fix version comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
CakeLancelot committed Oct 7, 2024
1 parent 323b5a3 commit d4a1ece
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/server-selector.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit d4a1ece

Please sign in to comment.