mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-24 08:14:34 +01:00
proton: Send logging to stderr
stdout is read by Steam when handling the compat path verbs. So we should never write other stuff to stdout.
This commit is contained in:
parent
3c120fa953
commit
f7af914fe7
1 changed files with 2 additions and 2 deletions
4
proton
4
proton
|
|
@ -21,8 +21,8 @@ else:
|
|||
ld_path_var = "LD_LIBRARY_PATH"
|
||||
|
||||
def log(msg):
|
||||
sys.stdout.write(PFX + msg + os.linesep)
|
||||
sys.stdout.flush()
|
||||
sys.stderr.write(PFX + msg + os.linesep)
|
||||
sys.stderr.flush()
|
||||
|
||||
def upgrade_pfx(old_ver):
|
||||
if old_ver == CURRENT_PREFIX_VERSION:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue