aboutsummaryrefslogtreecommitdiff
path: root/src/modules/launch.js
diff options
context:
space:
mode:
author0neGal <mail@0negal.com>2023-07-24 18:01:25 +0200
committerGitHub <noreply@github.com>2023-07-24 18:01:25 +0200
commit4e870f414cd4a85c4fca29bf4eb6f79f1aa89487 (patch)
treec9c1731b43861fcfcc7e15237a7924d8f4ecf21d /src/modules/launch.js
parent5cf79aa0847831b573a52d3c147ca1f78e712a40 (diff)
parent112610902caef019ea4af17d77079cd090d6b9b5 (diff)
downloadViper-4e870f414cd4a85c4fca29bf4eb6f79f1aa89487.tar.gz
Viper-4e870f414cd4a85c4fca29bf4eb6f79f1aa89487.zip
Merge branch 'main' into packages-dir
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;
}