Skip to content

Commit 53e9c5d

Browse files
committed
[bugfix-256] fix bsmSpawn for launching game on windows
1 parent 5721891 commit 53e9c5d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/services/bs-launcher/abstract-launcher.service.ts

+1
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ export abstract class AbstractLauncherService {
4949
spawnOptions.windowsVerbatimArguments = true;
5050
}
5151

52+
spawnOptions.shell = true; // For windows to spawn properly
5253
return bsmSpawn(`"${bsExePath}"`, {
5354
args, options: spawnOptions, log: true,
5455
linux: { prefix: this.linux.getProtonCommand() },

0 commit comments

Comments
 (0)