2.1.1 PreRelease Version
This commit is contained in:
parent
93f793bd95
commit
5523e94cff
@ -1,3 +1,12 @@
|
||||
<h1><u>Subsonics 2.1.1</u></h1>
|
||||
<p>Sortie le : 31/04/2022</p>
|
||||
<h2 style="font-size: 18px;">Ajouts & Fixes :</h2>
|
||||
<ul>
|
||||
<li><strong>[FIX]</strong> : Bug ou Suggestion Report : Se clear après utilisation</li>
|
||||
<li><strong>[AJOUT]</strong> : Update : Ajout de l'Update forcée.</li>
|
||||
</ul>
|
||||
<hr>
|
||||
|
||||
<h1><u>Subsonics 2.1.0</u></h1>
|
||||
<p>Sortie le : 30/04/2022</p>
|
||||
<h2 style="font-size: 18px;">Ajouts & Fixes :</h2>
|
||||
@ -9,8 +18,6 @@
|
||||
<li><strong>[CHANGE]</strong> : Dev Version : Remise en forme de la banderole pour éviter le gros bandeau rouge abusif</li>
|
||||
</ul>
|
||||
<hr>
|
||||
|
||||
|
||||
<h1><u>Subsonics 2.0.9</u></h1>
|
||||
<p>Sortie le : 29/04/2022</p>
|
||||
<h2 style="font-size: 18px;">Ajouts & Fixes :</h2>
|
||||
|
10
main.js
10
main.js
@ -330,7 +330,17 @@ async function createWindow() {
|
||||
win.webContents.send("reportForm", ans)
|
||||
})
|
||||
|
||||
ipc.on("forceUpdate", () => {
|
||||
|
||||
if(process.env.DEV != "true") {
|
||||
|
||||
updater.update()
|
||||
} else {
|
||||
|
||||
log.update("ABORT : MODE DEV ENABLE")
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
if (process.defaultApp) {
|
||||
if (process.argv.length >= 2) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "subsonics-manager",
|
||||
"version": "2.1.0",
|
||||
"version": "2.1.1",
|
||||
"description": "Manager for subsonics",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
.logo {
|
||||
|
||||
width: 15%;
|
||||
width: 20%;
|
||||
border-radius: 100%;
|
||||
margin-right: 5px;
|
||||
}
|
||||
@ -20,6 +20,7 @@
|
||||
|
||||
}
|
||||
|
||||
|
||||
.exitNotShow {
|
||||
|
||||
display: none;
|
||||
@ -576,7 +577,7 @@ input[type=range] {
|
||||
|
||||
height: 10px;
|
||||
width: 100%;
|
||||
background-color: red;
|
||||
background-color: rgb(99, 3, 3);
|
||||
color: white;
|
||||
font-size: 10px;
|
||||
text-align: center;
|
||||
|
@ -97,8 +97,23 @@
|
||||
<p>Bug ou suggestion :</p>
|
||||
<button id="bug" class="restart"><i class="fas fa-paper-plane"></i> Envoyer</button>
|
||||
</div>
|
||||
<div class="stLine">
|
||||
<p>Forcer la mise à jour :</p>
|
||||
<button id="upd" class="restart"><i class="fas fa-download"></i> Mettre à jour</button>
|
||||
</div>
|
||||
|
||||
</dialog>
|
||||
<dialog id="updDialog" class="menu">
|
||||
<div class="menuheader">
|
||||
<p class="listHeader"><i style="margin-right: 3px" class="fas fa-download"></i> Forcer la mise à jour</p>
|
||||
<button class="buttonClose" id="updClose"><i class="fas fa-times"></i></button>
|
||||
</div>
|
||||
<div class="updContent">
|
||||
<p style="color: yellow;"><i class="fas fa-warning"></i> Attention, forcer une mise à jour peut aider à réinstaller l'application. Avant de faire cela, demander à Raphix.</p>
|
||||
<span id="updSpan"></span>
|
||||
|
||||
</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>
|
||||
|
@ -52,6 +52,32 @@ const volCursor = document.getElementById("volCursor")
|
||||
const volPct = document.getElementById("volPct")
|
||||
const restart = document.getElementById("restart")
|
||||
|
||||
const updDialog = document.getElementById("updDialog")
|
||||
const upd = document.getElementById("upd")
|
||||
const updClose = document.getElementById("updClose")
|
||||
const updSpan = document.getElementById("updSpan")
|
||||
|
||||
|
||||
upd.addEventListener("click", () => {
|
||||
|
||||
updDialog.showModal()
|
||||
updSpan.innerHTML = ""
|
||||
setTimeout(() => {
|
||||
updSpan.innerHTML = '<button style="margin-left: 25%;" id="updYes" class="bug"><i class="fas fa-power-off"></i> Mettre à jour</button>'
|
||||
const updYes = document.getElementById("updYes")
|
||||
updYes.addEventListener("click", () => {
|
||||
ipc.send("forceUpdate")
|
||||
|
||||
})
|
||||
}, 2000)
|
||||
|
||||
})
|
||||
|
||||
updClose.addEventListener("click", () => {
|
||||
|
||||
updDialog.close()
|
||||
})
|
||||
|
||||
restart.addEventListener("click", () => {
|
||||
|
||||
stDialog.close()
|
||||
@ -66,8 +92,13 @@ if(packageJson.dev == true) {
|
||||
|
||||
sendB.addEventListener("click", () => {
|
||||
|
||||
|
||||
sendInfo.innerHTML = ""
|
||||
sendText.value = ""
|
||||
sendChos.value = "Bug"
|
||||
sendDialog.showModal()
|
||||
|
||||
|
||||
})
|
||||
}
|
||||
|
||||
@ -102,6 +133,9 @@ stClose.addEventListener("click", () => {
|
||||
|
||||
send.addEventListener("click", () => {
|
||||
|
||||
sendInfo.innerHTML = ""
|
||||
sendText.value = ""
|
||||
sendChos.value = "Bug"
|
||||
sendDialog.showModal()
|
||||
|
||||
})
|
||||
|
@ -33,7 +33,7 @@ function checkUpdateProcessing(serverPackage) {
|
||||
|
||||
}
|
||||
|
||||
function update() {
|
||||
module.exports.update = () => {
|
||||
|
||||
const win = BWin.getFocusedWindow()
|
||||
win.loadFile("templates/update/update.html")
|
||||
|
Loading…
x
Reference in New Issue
Block a user