mirror of
https://github.com/OpenFusionProject/Client.git
synced 2024-11-21 13:20:04 +00:00
Fix version comparison
This commit is contained in:
parent
323b5a3385
commit
d4a1ecebc7
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user