aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
authorMinteck <nekostarfan@gmail.com>2021-06-10 22:00:49 +0200
committerMinteck <nekostarfan@gmail.com>2021-06-10 22:00:49 +0200
commitdfbe8476aa6323bf1d9e699b5e08165a8403b21c (patch)
treee2fab6a5986c1f7b9d55a7b1009263ff98b5a33c /app.js
parent3e62534eb7db3011ef540b6053811d48761dda21 (diff)
downloadkartik-client-dfbe8476aa6323bf1d9e699b5e08165a8403b21c.tar.gz
kartik-client-dfbe8476aa6323bf1d9e699b5e08165a8403b21c.tar.bz2
kartik-client-dfbe8476aa6323bf1d9e699b5e08165a8403b21c.zip
(Pre)final commit !
Diffstat (limited to 'app.js')
-rw-r--r--app.js9
1 files changed, 2 insertions, 7 deletions
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;