2.1.5 Offical Version
This commit is contained in:
parent
4af63ae4bd
commit
b7b6846c0e
@ -1,3 +1,13 @@
|
||||
<h1><u>Subsonics 2.1.5</u></h1>
|
||||
<p>Sortie le : 01/05/2022</p>
|
||||
<h2 style="font-size: 18px;">Ajouts & Fixes :</h2>
|
||||
<ul>
|
||||
|
||||
<li><strong>[FIX]</strong> : Fix : Second Tentative to fix Update Checker</li>
|
||||
|
||||
</ul>
|
||||
<hr>
|
||||
|
||||
<h1><u>Subsonics 2.1.4</u></h1>
|
||||
<p>Sortie le : 01/05/2022</p>
|
||||
<h2 style="font-size: 18px;">Ajouts & Fixes :</h2>
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "subsonics-manager",
|
||||
"version": "2.1.4",
|
||||
"version": "2.1.5",
|
||||
"description": "Manager for subsonics",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user