diff options
author | 0neGal <mail@0negal.com> | 2023-07-24 18:01:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-24 18:01:25 +0200 |
commit | 4e870f414cd4a85c4fca29bf4eb6f79f1aa89487 (patch) | |
tree | c9c1731b43861fcfcc7e15237a7924d8f4ecf21d /src/modules/launch.js | |
parent | 5cf79aa0847831b573a52d3c147ca1f78e712a40 (diff) | |
parent | 112610902caef019ea4af17d77079cd090d6b9b5 (diff) | |
download | Viper-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.js | 6 |
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; } |