diff options
author | Minteck <nekostarfan@gmail.com> | 2021-09-30 18:33:02 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-09-30 18:33:02 +0200 |
commit | 4ea37b6a0089f0948859447c8751320d1a4559f1 (patch) | |
tree | 3953c3c695899122b20e5074356b0e00b6f946a3 | |
parent | 56437d7445cf0cdf3d5053fbf7043b39f1a96856 (diff) | |
parent | 66e738e5859dd3f1c967d0bf0b7319e3ec737012 (diff) | |
download | kartik-client-4ea37b6a0089f0948859447c8751320d1a4559f1.tar.gz kartik-client-4ea37b6a0089f0948859447c8751320d1a4559f1.tar.bz2 kartik-client-4ea37b6a0089f0948859447c8751320d1a4559f1.zip |
Merge branch 'testing' of https://minteck.ro.lt/src/minteck/kartik into testing
-rw-r--r-- | app.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -76,7 +76,7 @@ const fs = require("fs"); 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" && !fs.existsSync(homedir + "/.kartik/current.kfn")) { + if (require('./package.json').channel !== "stable" && require('./package.json').channel !== "git" && !require('fs').existsSync(homedir + "/.kartik/current.kfn")) { console.log(" * Opening save data conversion dialog"); global.converting = true; btn = require('electron').dialog.showMessageBoxSync( @@ -431,4 +431,4 @@ const fs = require("fs"); app.quit() } }) -})();
\ No newline at end of file +})(); |