diff --git a/updatetools.js b/updatetools.js index 42d9638..7b6ad99 100644 --- a/updatetools.js +++ b/updatetools.js @@ -26,7 +26,6 @@ module.exports.checkUpdate = () => { log.update("Verification des mises a jour ... Processing !") - fetch("https://git.raphix.fr/subsonics/manager/raw/branch/main/package.json").catch(err => catchError(err)).then(resp => resp.json()).then(resp => checkUpdateProcessing(resp)) @@ -58,12 +57,8 @@ function selfUpdate() { var settings = getSettings() const win = BWin.getFocusedWindow() - var link = "https://git.raphix.fr/subsonics/manager/archive/stable.tar.gz" + var link = "https://git.raphix.fr/subsonics/manager/archive/main.tar.gz" - if(settings.canaldev == true) { - - link = "https://git.raphix.fr/subsonics/manager/archive/main.tar.gz" - } win.loadFile("templates/update/update.html")