[bugfix-627] fix bsmSpawn for launching game on windows

This commit is contained in:
silentrald
2024-11-22 01:51:47 +08:00
parent 5721891e28
commit 1fdf1f0247
@@ -49,6 +49,7 @@ export abstract class AbstractLauncherService {
spawnOptions.windowsVerbatimArguments = true;
}
spawnOptions.shell = true; // For windows to spawn properly
return bsmSpawn(`"${bsExePath}"`, {
args, options: spawnOptions, log: true,
linux: { prefix: this.linux.getProtonCommand() },