From 763f23226d6e5bf3aa7eff0dfa4fc8f6e4118ac1 Mon Sep 17 00:00:00 2001 From: 0neGal Date: Mon, 27 Dec 2021 01:45:28 +0100 Subject: fixed not being in the gamepath when launching Northstar requires you to be in the gamepath when launching, so we now change the current directory when launching. --- src/utils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils.js b/src/utils.js index c60eb5e..6b6fbfa 100644 --- a/src/utils.js +++ b/src/utils.js @@ -72,6 +72,7 @@ function launch(version) { cli.exit(1); } + process.chdir(settings.gamepath); switch(version) { case "vanilla": console.log("Launching Vanilla...") -- cgit v1.2.3