mirror of
https://github.com/OpenFusionProject/Client.git
synced 2024-11-14 18:50:04 +00:00
Fix version comparison
This commit is contained in:
parent
323b5a3385
commit
d4a1ecebc7
@ -89,7 +89,7 @@ function checkForNewAppVersion() {
|
|||||||
{},
|
{},
|
||||||
function (data) {
|
function (data) {
|
||||||
$.each(data, function (index, element) {
|
$.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);
|
console.log("New version available: " + element);
|
||||||
var downloadPage =
|
var downloadPage =
|
||||||
"https://github.com/OpenFusionProject/OpenFusionClient/releases/latest";
|
"https://github.com/OpenFusionProject/OpenFusionClient/releases/latest";
|
||||||
|
Loading…
Reference in New Issue
Block a user