diff options
-rw-r--r-- | .idea/.name | 1 | ||||
-rw-r--r-- | app.js | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/.idea/.name b/.idea/.name deleted file mode 100644 index ac3fdae..0000000 --- a/.idea/.name +++ /dev/null @@ -1 +0,0 @@ -Kartik Client
\ No newline at end of file @@ -75,7 +75,7 @@ const { app, BrowserWindow } = require('electron'); app.setPath("crashDumps", homedir + "/.kartik/dumps"); app.setPath('userData', homedir + "/.kartik/storage"); app.whenReady().then(async () => { - if (require('./package.json').channel !== "stable" && require('./package.json').channel !== "git") { + if (require('./package.json').channel !== "stable" && require('./package.json').channel !== "git" && !fs.existsSync(homedir + "/.kartik/current.kfn")) { console.log(" * Opening save data conversion dialog"); global.converting = true; btn = require('electron').dialog.showMessageBoxSync( |