2.0.9 PreRelease Version
This commit is contained in:
parent
733aa33b2a
commit
bc37d7811f
30
infoupdate.html
Normal file
30
infoupdate.html
Normal file
@ -0,0 +1,30 @@
|
||||
<h1><u>Subsonics 2.0.9</u></h1>
|
||||
<p>Sortie le : 29/04/2022</p>
|
||||
<h2 style="font-size: 18px;">Ajouts & Fixes :</h2>
|
||||
<ul>
|
||||
<li><strong>[FIX]</strong> : Update : Le fichier de MAJ compressé est désormais supprimé au début et à la fin de la MAJ afin d'éviter les SoftLock en cas de bugs</li>
|
||||
<li><strong>[AJOUT] </strong> : Dev Version : Une banderole s'affiche lorsque la version est expérimental.</li>
|
||||
<li><strong>[AJOUT] </strong> : Logs : Disponible dans l'emplacement de l'application puis dans ./resources/app/logs/</li>
|
||||
<li><strong>[AJOUT] </strong> : Patch Note : Ajout de la fonctionnalité de ce que vous lisez en ce moment.</li>
|
||||
<li><strong>[CHANGE] </strong> : Graphique : Uniformisation des couleurs.</li>
|
||||
</ul>
|
||||
<hr>
|
||||
|
||||
|
||||
|
||||
<!--Info version Example
|
||||
|
||||
<hr>
|
||||
<h1><u>Subsonics x.x.x</u></h1>
|
||||
<p>Sortie le : --/--/----</p>
|
||||
<h2 style="font-size: 18px;">Ajouts & Fixes :</h2>
|
||||
<ul>
|
||||
<li><strong>[AJOUT]</strong> </li>
|
||||
<li><strong>[FIX]</strong> </li>
|
||||
</ul>
|
||||
<hr>
|
||||
|
||||
|
||||
|
||||
|
||||
-->
|
2
main.js
2
main.js
@ -366,7 +366,7 @@ app.on("open-url", (ev, url) => {
|
||||
|
||||
app.whenReady().then(() => {
|
||||
|
||||
const icon = nativeImage.createFromPath('src/logo.png')
|
||||
const icon = nativeImage.createFromPath('src/logo.ico')
|
||||
tray = new Tray(icon)
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "subsonics-manager",
|
||||
"version": "2.0.8",
|
||||
"version": "2.0.9",
|
||||
"description": "Manager for subsonics",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
@ -23,5 +23,6 @@
|
||||
"devDependencies": {
|
||||
"electron": "^24.1.2",
|
||||
"electron-packager": "^17.1.1"
|
||||
}
|
||||
},
|
||||
"dev": true
|
||||
}
|
||||
|
@ -293,6 +293,11 @@ input[type=range] {
|
||||
|
||||
}
|
||||
|
||||
.patchInfo {
|
||||
|
||||
padding: 5%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.secondary {
|
||||
|
||||
@ -390,7 +395,7 @@ input[type=range] {
|
||||
|
||||
.infoVersion {
|
||||
|
||||
color: rgb(31, 30, 30);
|
||||
color: rgb(255, 255, 255);
|
||||
text-align: center;
|
||||
font-size: 10px;
|
||||
|
||||
@ -497,4 +502,20 @@ input[type=range] {
|
||||
.cp {
|
||||
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.devversion {
|
||||
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
font-size: 10px;
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
background-color: red;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.devversion p {
|
||||
position: relative;
|
||||
bottom: -6px;
|
||||
}
|
@ -48,6 +48,7 @@
|
||||
<span id="username"></span>
|
||||
</div>
|
||||
<div class="act">
|
||||
<button id="patchnote" class="settings"><i class="fas fa-sticky-note"></i></button>
|
||||
<button id="settings" class="settings"><i class="fas fa-gear"></i></button>
|
||||
<button id="signout" class="signout"><i class="fas fa-sign-out"></i></button>
|
||||
</div>
|
||||
@ -94,11 +95,21 @@
|
||||
</div>
|
||||
|
||||
|
||||
</dialog>
|
||||
<dialog id="patchDialog" class="menu">
|
||||
<div class="menuheader">
|
||||
<p class="listHeader"><i style="margin-right: 3px" class="fas fa-sticky-note"></i> Patch Note</p>
|
||||
<button class="buttonClose" id="patchClose"><i class="fas fa-times"></i></button>
|
||||
</div>
|
||||
<span class="patchInfo" id="patchInfo">
|
||||
|
||||
</span>
|
||||
</dialog>
|
||||
<div class="infoVersion">
|
||||
<p class="cp">Submanager - Version <span id="version"></span></p>
|
||||
<p style="margin: 0;">Fait avec 💖 par Raphix</p>
|
||||
</div>
|
||||
<span class="devversion" id="devversion"></span>
|
||||
|
||||
|
||||
<script src="../common/bundle.js"></script>
|
||||
|
@ -33,6 +33,12 @@ const stDialog = document.getElementById("stDialog")
|
||||
const settings = document.getElementById("settings")
|
||||
const stClose = document.getElementById("stClose")
|
||||
|
||||
const patchDialog = document.getElementById("patchDialog")
|
||||
const patchnote = document.getElementById("patchnote")
|
||||
const patchClose = document.getElementById("patchClose")
|
||||
const patchInfo = document.getElementById("patchInfo")
|
||||
|
||||
|
||||
const volCursor = document.getElementById("volCursor")
|
||||
const volPct = document.getElementById("volPct")
|
||||
const restart = document.getElementById("restart")
|
||||
@ -44,11 +50,28 @@ restart.addEventListener("click", () => {
|
||||
|
||||
})
|
||||
|
||||
if(packageJson.dev == true) {
|
||||
|
||||
document.getElementById("devversion").innerHTML = "<p>Cette version est expérimentale.<br> En cas de bug, prévenez Raphix#8343</p>"
|
||||
}
|
||||
|
||||
var durationAll = 0
|
||||
var durationProgress = 0
|
||||
var isPlaying = false
|
||||
|
||||
|
||||
patchnote.addEventListener("click", () => {
|
||||
|
||||
patchDialog.showModal()
|
||||
const data = fs.readFileSync(__dirname + require("path").sep + "../../infoupdate.html")
|
||||
patchInfo.innerHTML = data
|
||||
|
||||
})
|
||||
|
||||
patchClose.addEventListener("click", () => {
|
||||
|
||||
patchDialog.close()
|
||||
})
|
||||
|
||||
settings.addEventListener("click", () => {
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
body {
|
||||
|
||||
background-color: #92bcea !important;
|
||||
background-color: #171717 !important;
|
||||
font-family: 'Open Sans', sans-serif !important;
|
||||
|
||||
}
|
||||
@ -19,6 +19,7 @@ body {
|
||||
width: 100%;
|
||||
padding: 5% !important;
|
||||
padding-bottom: 0% !important;
|
||||
color: white;
|
||||
}
|
||||
|
||||
|
||||
|
@ -47,7 +47,7 @@ function update() {
|
||||
|
||||
if(fs.existsSync(__dirname + path.sep + "update.tar.gz")) {
|
||||
|
||||
fs.rmSync("update.tar.gz")
|
||||
fs.rmSync(__dirname + path.sep + "update.tar.gz")
|
||||
}
|
||||
|
||||
const updatePack = fs.createWriteStream(__dirname + path.sep + "update.tar.gz");
|
||||
|
Loading…
x
Reference in New Issue
Block a user