mirror of
https://github.com/ValveSoftware/Proton.git
synced 2024-12-27 23:25:50 +03:00
proton: Don't try track .debug files if there's not tracking file.
This commit is contained in:
parent
5b99c12aed
commit
40b964bd30
2
proton
2
proton
@ -173,7 +173,7 @@ def try_copy(src, dst, prefix=None, add_write_perm=True, copy_metadata=False, op
|
||||
|
||||
if file_exists(dst + '.debug', follow_symlinks=False):
|
||||
os.remove(dst + '.debug')
|
||||
elif link_debug:
|
||||
elif link_debug and track_file:
|
||||
track_file.write(os.path.relpath(dst + '.debug', prefix) + '\n')
|
||||
|
||||
if link_debug:
|
||||
|
Loading…
Reference in New Issue
Block a user