aboutsummaryrefslogtreecommitdiff
path: root/crash/wrapper.js
diff options
context:
space:
mode:
Diffstat (limited to 'crash/wrapper.js')
-rw-r--r--crash/wrapper.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/crash/wrapper.js b/crash/wrapper.js
index ba5a8b9..16ecfd9 100644
--- a/crash/wrapper.js
+++ b/crash/wrapper.js
@@ -1,8 +1,6 @@
const { app, BrowserWindow } = require('electron')
-if (require('fs').existsSync(require('os').userInfo().homedir + "/.kartik/config/lang.txt")) {
- lp = require('fs').readFileSync(require('os').userInfo().homedir + "/.kartik/config/lang.txt").toString();
-}
+lp = "en";
function createWindow () {
const win = new BrowserWindow({