log: launcher display new version

This commit is contained in:
jean-emmanuel 2016-11-05 12:58:40 +01:00
parent b0a5af8dbf
commit 4c4291ab26
2 changed files with 6 additions and 1 deletions

View file

@ -1,5 +1,10 @@
# Changelog
## 0.10.4
- main
- launcher: display new version if available
## 0.10.3
- main

View file

@ -156,7 +156,7 @@
if (request.status >= 200 && request.status < 400) {
var data = JSON.parse(request.responseText);
console.log(data)
if (data[0].name == 'v' + packageVersion) {
if (data[0].name != 'v' + packageVersion) {
$('#new-version').html(` [<a href="#" target="_blank">${data[0].name} availabe</a>]`)
$('#new-version').click(function(e) {
e.preventDefault()