Skip to content

Commit

Permalink
[FIX] fix logs for sideloaded games (#3656)
Browse files Browse the repository at this point in the history
  • Loading branch information
Etaash-mathamsetty authored Mar 31, 2024
1 parent a622a2c commit f263fc8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/backend/storeManagers/storeManagerCommon/games.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
lastPlayLogFileLocation,
logInfo,
LogPrefix,
logsDisabled,
logWarning
} from '../../logger/logger'
import { basename, dirname } from 'path'
Expand Down Expand Up @@ -257,7 +258,10 @@ export async function launchGame(
options: {
wrappers,
logFile: lastPlayLogFileLocation(appName),
logMessagePrefix: LogPrefix.Backend
logMessagePrefix: LogPrefix.Backend,
onOutput: (output) => {
if (!logsDisabled) appendGamePlayLog(gameInfo, output)
}
}
})

Expand Down

0 comments on commit f263fc8

Please sign in to comment.