aboutsummaryrefslogtreecommitdiff
path: root/src/modules/launch.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/launch.js
parentd69162ff55b83c8bfe8f855b74785038c4662051 (diff)
parent11f2bc2de10e5ec7bb8a8b102855e9b7f0122c02 (diff)
downloadViper-306e09311b681afecdf2f1063a10ad87e63f5b7a.tar.gz
Viper-306e09311b681afecdf2f1063a10ad87e63f5b7a.zip
Merge branch 'main' into add-missing-localizations
Diffstat (limited to 'src/modules/launch.js')
-rw-r--r--src/modules/launch.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/modules/launch.js b/src/modules/launch.js
index 82de109..af9939b 100644
--- a/src/modules/launch.js
+++ b/src/modules/launch.js
@@ -6,6 +6,8 @@ const lang = require("../lang");
const win = require("./window");
const settings = require("./settings");
+console = require("./console");
+
// launches the game
//
// either Northstar or Vanilla. Linux support is not currently a thing,
@@ -25,11 +27,11 @@ function launch(game_version) {
// launch the requested game version
switch(game_version) {
case "vanilla":
- console.log(lang("general.launching"), "Vanilla...");
+ console.info(lang("general.launching"), "Vanilla...");
exec("Titanfall2.exe", {cwd: settings.gamepath});
break;
default:
- console.log(lang("general.launching"), "Northstar...");
+ console.info(lang("general.launching"), "Northstar...");
exec("NorthstarLauncher.exe", {cwd: settings.gamepath});
break;
}