aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinteck <nekostarfan@gmail.com>2021-09-30 18:33:02 +0200
committerMinteck <nekostarfan@gmail.com>2021-09-30 18:33:02 +0200
commit4ea37b6a0089f0948859447c8751320d1a4559f1 (patch)
tree3953c3c695899122b20e5074356b0e00b6f946a3
parent56437d7445cf0cdf3d5053fbf7043b39f1a96856 (diff)
parent66e738e5859dd3f1c967d0bf0b7319e3ec737012 (diff)
downloadkartik-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.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app.js b/app.js
index 36dc896..dde2133 100644
--- a/app.js
+++ b/app.js
@@ -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
+})();