Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 19 lines 1.0 kB view raw
1--- a/src/r2mm/launching/runners/linux/SteamGameRunner_Linux.ts 2+++ b/src/r2mm/launching/runners/linux/SteamGameRunner_Linux.ts 3@@ -64,15 +64,8 @@ 4 async start(game: Game, args: string): Promise<void | R2Error> { 5 6 const settings = await ManagerSettings.getSingleton(game); 7- const steamDir = await GameDirectoryResolverProvider.instance.getSteamDirectory(); 8- if(steamDir instanceof R2Error) { 9- return steamDir; 10- } 11- 12- LoggerProvider.instance.Log(LogSeverity.INFO, `Steam folder is: ${steamDir}`); 13- 14 try { 15- const cmd = `"${steamDir}/steam.sh" -applaunch ${game.activePlatform.storeIdentifier} ${args} ${settings.getContext().gameSpecific.launchParameters}`; 16+ const cmd = `steam -applaunch ${game.activePlatform.storeIdentifier} ${args} ${settings.getContext().gameSpecific.launchParameters}`; 17 LoggerProvider.instance.Log(LogSeverity.INFO, `Running command: ${cmd}`); 18 await exec(cmd); 19 } catch(err) {