2.2.5 Final 2 Version

This commit is contained in:
CICD - Pipeline 2023-05-04 17:46:02 +02:00
parent 601cf636cb
commit 8f52c1549a
5 changed files with 28 additions and 8 deletions

View File

@ -1,3 +1,13 @@
<h1><u>Subsonics 2.2.5</u></h1>
<p>Sortie le : 03/05/2022</p>
<h2 style="font-size: 18px;">Ajouts & Fixes :</h2>
<ul>
<li><strong>[FIX]</strong> : Changement du titre pour toutes les fenêtres de l'application</li>
</ul>
<hr>
<h1><u>Subsonics 2.2.4</u></h1>
<p>Sortie le : 03/05/2022</p>
<h2 style="font-size: 18px;">Ajouts & Fixes :</h2>

View File

@ -1,6 +1,6 @@
{
"name": "subsonics-manager",
"version": "2.2.4",
"version": "2.2.5",
"description": "Manager for subsonics",
"main": "main.js",
"scripts": {

View File

@ -11,7 +11,8 @@
<body>
<header>
<div class="top-title">
<h1><img class="top-logo rounded" src="../../src/logo.png" alt="Logo"> Subsonics</h1>
<img class="top-logo rounded" src="../../src/logo.png" alt="Logo">
<img class="top-title-image rounded" src="../../src/title.png" alt="Logo">
</div>
<button id="minimizeBtn" class="buttonReduce"><i class="fas fa-window-minimize"></i></button>
<button id="closeBtn" class="buttonClose"><i class="fas fa-times"></i></button>

View File

@ -11,7 +11,8 @@
<body>
<header>
<div class="top-title">
<h1><img class="top-logo rounded" src="../../src/logo.png" alt="Logo"> Subsonics</h1>
<img class="top-logo rounded" src="../../src/logo.png" alt="Logo">
<img class="top-title-image rounded" src="../../src/title.png" alt="Logo">
</div>
</header>
<div id="content">

View File

@ -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"