Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
20 lines
1022 B
Diff
20 lines
1022 B
Diff
--- a/src/r2mm/launching/runners/linux/SteamGameRunner_Linux.ts
|
|
+++ b/src/r2mm/launching/runners/linux/SteamGameRunner_Linux.ts
|
|
@@ -64,15 +64,8 @@
|
|
async start(game: Game, args: string): Promise<void | R2Error> {
|
|
|
|
const settings = await ManagerSettings.getSingleton(game);
|
|
- const steamDir = await GameDirectoryResolverProvider.instance.getSteamDirectory();
|
|
- if(steamDir instanceof R2Error) {
|
|
- return steamDir;
|
|
- }
|
|
-
|
|
- LoggerProvider.instance.Log(LogSeverity.INFO, `Steam folder is: ${steamDir}`);
|
|
-
|
|
try {
|
|
- const cmd = `"${steamDir}/steam.sh" -applaunch ${game.activePlatform.storeIdentifier} ${args} ${settings.getContext().gameSpecific.launchParameters}`;
|
|
+ const cmd = `steam -applaunch ${game.activePlatform.storeIdentifier} ${args} ${settings.getContext().gameSpecific.launchParameters}`;
|
|
LoggerProvider.instance.Log(LogSeverity.INFO, `Running command: ${cmd}`);
|
|
await exec(cmd);
|
|
} catch(err) {
|