Skip to content

Commit

Permalink
launch fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ocraft committed Jan 18, 2024
1 parent 5cbcbf2 commit aae6ab7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,12 +210,12 @@ private S2Controller launch() {
log.info("Launching Starcraft II with configuration: {}.", cfg);
try {
Path gameRoot = Paths.get(cfg.getString(GAME_EXE_ROOT));
String exeFile = cfg.getString(GAME_EXE_PATH);/*gameRoot
String exeFile = cfg.hasPath(GAME_EXE_PATH) ? cfg.getString(GAME_EXE_PATH) : gameRoot
.resolve(Paths.get(
ExecutableParser.VERSIONS_DIR,
cfg.getString(GAME_EXE_BUILD),
cfg.getString(GAME_EXE_FILE)))
.toString();*/
.toString();

List<String> args = new ArrayList<>();
args.add(exeFile);
Expand Down

0 comments on commit aae6ab7

Please sign in to comment.