From dfbe8476aa6323bf1d9e699b5e08165a8403b21c Mon Sep 17 00:00:00 2001 From: Minteck Date: Thu, 10 Jun 2021 22:00:49 +0200 Subject: (Pre)final commit ! --- app.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'app.js') diff --git a/app.js b/app.js index da35e78..71578af 100644 --- a/app.js +++ b/app.js @@ -217,7 +217,7 @@ const { app, BrowserWindow } = require('electron'); }) global.shouldExitIfClosed = true; - win.hide(); + console.log(" * Starting IPC engine"); win.pwidth = Math.round(720 * scale); @@ -241,12 +241,7 @@ const { app, BrowserWindow } = require('electron'); win.music = fs.readFileSync(homedir + "/.kartik/config/music.txt").toString().trim() === "1"; win.voice = fs.readFileSync(homedir + "/.kartik/config/voice.txt").toString().trim() === "2"; - // TODO: Enable online mode when stable - if (dimga === "stable") { - win.online = false; - } else { - win.online = fs.readFileSync(homedir + "/.kartik/config/online.txt").toString().trim() === "1"; - } + win.online = fs.readFileSync(homedir + "/.kartik/config/online.txt").toString().trim() === "1"; win.resources = resources; global.currentSongValue = null; -- cgit