mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-01-26 13:38:15 +03:00
proton: Dump stdout to /dev/null by default
This commit is contained in:
parent
5d20566c13
commit
7ef0476c2b
6
proton
6
proton
@ -59,12 +59,12 @@ lfile_path = None
|
||||
#env["WINEDEBUG"] = "+tid,+seh,+steamclient"
|
||||
#lfile_path = env["HOME"] + "/steam-" + env["SteamGameId"] + ".log"
|
||||
|
||||
if not lfile_path is None:
|
||||
if lfile_path is None:
|
||||
lfile = open("/dev/null", "w")
|
||||
else:
|
||||
if os.path.exists(lfile_path):
|
||||
os.remove(lfile_path)
|
||||
lfile = open(lfile_path, "w")
|
||||
else:
|
||||
lfile = None
|
||||
|
||||
if "LD_LIBRARY_PATH" in os.environ:
|
||||
env["LD_LIBRARY_PATH"] = libdir + ":" + env["LD_LIBRARY_PATH"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user