Skip to content

Commit 5c44ab3

Browse files
committed
Also set WINEDEBUG
1 parent 1c515f9 commit 5c44ab3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

electron/launcher.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,8 @@ function setupWineEnvVars(gameSettings: GameSettings, gameId = '0') {
263263
// This sets the name of the log file given when setting PROTON_LOG=1
264264
ret.SteamGameId = `heroic-${gameId}`
265265
ret.PROTON_LOG_DIR = flatPakHome
266+
// Stop Proton from overriding WINEDEBUG; this prevents logs growing to a few GB for some games
267+
ret.WINEDEBUG = 'timestamp'
266268
}
267269
return ret
268270
}

0 commit comments

Comments
 (0)