diff options
author | Minteck <nekostarfan@gmail.com> | 2021-06-10 22:00:49 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-06-10 22:00:49 +0200 |
commit | dfbe8476aa6323bf1d9e699b5e08165a8403b21c (patch) | |
tree | e2fab6a5986c1f7b9d55a7b1009263ff98b5a33c /app.js | |
parent | 3e62534eb7db3011ef540b6053811d48761dda21 (diff) | |
download | kartik-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.js | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -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; |