diff --git a/infoupdate.html b/infoupdate.html
index d4f97c5..0b667a4 100644
--- a/infoupdate.html
+++ b/infoupdate.html
@@ -1,3 +1,13 @@
+
Subsonics 2.2.5
+Sortie le : 03/05/2022
+Ajouts & Fixes :
+
+
+ - [FIX] : Changement du titre pour toutes les fenĂȘtres de l'application
+
+
+
+
Subsonics 2.2.4
Sortie le : 03/05/2022
Ajouts & Fixes :
diff --git a/package.json b/package.json
index ff7f7de..d66736a 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "subsonics-manager",
- "version": "2.2.4",
+ "version": "2.2.5",
"description": "Manager for subsonics",
"main": "main.js",
"scripts": {
diff --git a/templates/login/login.html b/templates/login/login.html
index 9b6a69a..2c4f379 100644
--- a/templates/login/login.html
+++ b/templates/login/login.html
@@ -11,7 +11,8 @@
diff --git a/templates/update/update.html b/templates/update/update.html
index a462ca8..642c89e 100644
--- a/templates/update/update.html
+++ b/templates/update/update.html
@@ -11,7 +11,8 @@
diff --git a/updatetools.js b/updatetools.js
index b957a44..244e08b 100644
--- a/updatetools.js
+++ b/updatetools.js
@@ -7,17 +7,23 @@ const BWin = BrowserWindow
const path = require("path")
const decompress = require('decompress');
-var settings = {}
-settings.canaldev = null
+function getSettings() {
-if(fs.existsSync(__dirname + path.sep + "settings.json")){
+ var settings = {}
+ settings.canaldev = null
- settings = JSON.parse(fs.readFileSync(__dirname + path.sep + "settings.json"))
+ if(fs.existsSync(__dirname + path.sep + "settings.json")){
+
+ settings = JSON.parse(fs.readFileSync(__dirname + path.sep + "settings.json"))
+ }
+
+ return settings
}
-
module.exports.checkUpdate = () => {
+ var settings = getSettings()
+
log.update("Verification des mises a jour ... Processing !")
if(settings.canaldev == true) {
@@ -52,6 +58,8 @@ function checkUpdateProcessing(serverPackage) {
function selfUpdate() {
+ var settings = getSettings()
+
const win = BWin.getFocusedWindow()
var link = "https://git.raphix.fr/subsonics/manager/archive/stable.tar.gz"