aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.js b/app.js
index c30bd44..8c46243 100644
--- a/app.js
+++ b/app.js
@@ -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(