2.1.4 Offical Version
This commit is contained in:
parent
411a2785bc
commit
4af63ae4bd
@ -1,3 +1,14 @@
|
||||
<h1><u>Subsonics 2.1.4</u></h1>
|
||||
<p>Sortie le : 01/05/2022</p>
|
||||
<h2 style="font-size: 18px;">Ajouts & Fixes :</h2>
|
||||
<ul>
|
||||
|
||||
<li><strong>[FIX]</strong> : Fix : Settings wont't be deleted after signout</li>
|
||||
|
||||
</ul>
|
||||
<hr>
|
||||
|
||||
|
||||
<h1><u>Subsonics 2.1.3</u></h1>
|
||||
<p>Sortie le : 01/05/2022</p>
|
||||
<h2 style="font-size: 18px;">Ajouts & Fixes :</h2>
|
||||
|
9
main.js
9
main.js
@ -101,7 +101,9 @@ async function createWindow() {
|
||||
|
||||
|
||||
} else {
|
||||
fs.rmSync( __dirname + path.sep + "settings.json")
|
||||
const settings = require( __dirname + path.sep + "settings.json")
|
||||
settings["token"] = null;
|
||||
fs.writeFile(__dirname + path.sep + "settings.json", JSON.stringify(settings, null, 2), () => {})
|
||||
win.webContents.send("connectFailed")
|
||||
|
||||
}
|
||||
@ -309,7 +311,10 @@ async function createWindow() {
|
||||
|
||||
if(fs.statSync(__dirname + path.sep + "settings.json")) {
|
||||
|
||||
fs.rmSync(__dirname + path.sep + "settings.json")
|
||||
const settings = require( __dirname + path.sep + "settings.json")
|
||||
settings["token"] = null;
|
||||
fs.writeFile(__dirname + path.sep + "settings.json", JSON.stringify(settings, null, 2), () => {})
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "subsonics-manager",
|
||||
"version": "2.1.3",
|
||||
"version": "2.1.4",
|
||||
"description": "Manager for subsonics",
|
||||
"main": "main.js",
|
||||
"scripts": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user