From faec6fbdee726157b697f369375764268902fe86 Mon Sep 17 00:00:00 2001 From: Minteck Date: Fri, 13 Aug 2021 17:35:35 +0200 Subject: Fix that makes the game start!! --- app.js | 4 ++-- 1 file 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 +})(); -- cgit From 66e738e5859dd3f1c967d0bf0b7319e3ec737012 Mon Sep 17 00:00:00 2001 From: Minteck Date: Mon, 16 Aug 2021 12:29:22 +0200 Subject: Update server.json --- online/server.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/online/server.json b/online/server.json index 905621c..4ba17eb 100644 --- a/online/server.json +++ b/online/server.json @@ -1,4 +1,4 @@ { "hostname": "kartik.hopto.org", - "port": 8448 + "port": 8408 } -- cgit