diff options
author | Minteck <nekostarfan@gmail.com> | 2021-08-05 18:45:57 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-08-05 18:45:57 +0200 |
commit | 8fbfcf981608248929b202cb055000407e6d6c3d (patch) | |
tree | e72dc2eaca7a91d509936486c22755f2418ffce5 /app.js | |
parent | b865b8f6586ffd4554cdfe45c739030afc882acd (diff) | |
download | kartik-client-8fbfcf981608248929b202cb055000407e6d6c3d.tar.gz kartik-client-8fbfcf981608248929b202cb055000407e6d6c3d.tar.bz2 kartik-client-8fbfcf981608248929b202cb055000407e6d6c3d.zip |
Disable converting if already converted
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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( |