diff --git a/infoupdate.html b/infoupdate.html
index dee27c6..03eb41b 100644
--- a/infoupdate.html
+++ b/infoupdate.html
@@ -1,3 +1,13 @@
+
Subsonics 2.1.5
+Sortie le : 01/05/2022
+Ajouts & Fixes :
+
+
+ - [FIX] : Fix : Second Tentative to fix Update Checker
+
+
+
+
Subsonics 2.1.4
Sortie le : 01/05/2022
Ajouts & Fixes :
diff --git a/package.json b/package.json
index f1aa89e..dc7cb5f 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "subsonics-manager",
- "version": "2.1.4",
+ "version": "2.1.5",
"description": "Manager for subsonics",
"main": "main.js",
"scripts": {
diff --git a/updatetools.js b/updatetools.js
index db54d50..177e04f 100644
--- a/updatetools.js
+++ b/updatetools.js
@@ -15,6 +15,7 @@ module.exports.checkUpdate = () => {
fetch("https://git.raphix.fr/subsonics/manager/raw/branch/main/package.json").catch(err => catchError(err)).then(resp => resp.json()).then(resp => checkUpdateProcessing(resp))
}
+
function checkUpdateProcessing(serverPackage) {
const clientPackage = require("./package")
@@ -23,7 +24,7 @@ function checkUpdateProcessing(serverPackage) {
log.update("Verification des mises a jour ... Finish !")
log.update("Mise a jour disponible ! Nouvelle version : " + serverPackage.version + " - Client : " + clientPackage.version + " - Git : " + serverPackage.version)
- this.update()
+ selfUpdate()
} else {
@@ -33,7 +34,7 @@ function checkUpdateProcessing(serverPackage) {
}
-module.exports.update = () => {
+function selfUpdate() {
const win = BWin.getFocusedWindow()
win.loadFile("templates/update/update.html")
@@ -75,8 +76,12 @@ module.exports.update = () => {
});
+}
+module.exports.update = () => {
+
+ selfUpdate()
}
function install(filename) {