aboutsummaryrefslogtreecommitdiff
path: root/src/modules/settings.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2023-07-24 17:48:07 +0200
committerGitHub <noreply@github.com>2023-07-24 17:48:07 +0200
commit306e09311b681afecdf2f1063a10ad87e63f5b7a (patch)
treed8905b4c651cf762c46f595879751d4334cdb893 /src/modules/settings.js
parentd69162ff55b83c8bfe8f855b74785038c4662051 (diff)
parent11f2bc2de10e5ec7bb8a8b102855e9b7f0122c02 (diff)
downloadViper-306e09311b681afecdf2f1063a10ad87e63f5b7a.tar.gz
Viper-306e09311b681afecdf2f1063a10ad87e63f5b7a.zip
Merge branch 'main' into add-missing-localizations
Diffstat (limited to 'src/modules/settings.js')
-rw-r--r--src/modules/settings.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/settings.js b/src/modules/settings.js
index 76326cc..3b60d7f 100644
--- a/src/modules/settings.js
+++ b/src/modules/settings.js
@@ -5,6 +5,8 @@ const app = require("electron").app;
const json = require("./json");
const lang = require("../lang");
+console = require("./console");
+
var invalid_settings = false;
// base settings
@@ -47,7 +49,7 @@ if (fs.existsSync("viper.json")) {
settings.nsargs = fs.readFileSync(args, "utf8");
}
} else {
- console.log(lang("general.missingpath"));
+ console.error(lang("general.missingpath"));
}
// as to not have to do the same one liner a million times, this