mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-22 05:36:09 +01:00
proton: Don't try track .debug files if there's not tracking file.
This commit is contained in:
parent
c57940a528
commit
3d716a9db2
1 changed files with 1 additions and 1 deletions
2
proton
2
proton
|
|
@ -174,7 +174,7 @@ def try_copy(src, dst, prefix=None, add_write_perm=True, copy_metadata=False, op
|
||||||
|
|
||||||
if file_exists(dst + '.debug', follow_symlinks=False):
|
if file_exists(dst + '.debug', follow_symlinks=False):
|
||||||
os.remove(dst + '.debug')
|
os.remove(dst + '.debug')
|
||||||
elif link_debug:
|
elif link_debug and track_file:
|
||||||
track_file.write(os.path.relpath(dst + '.debug', prefix) + '\n')
|
track_file.write(os.path.relpath(dst + '.debug', prefix) + '\n')
|
||||||
|
|
||||||
if link_debug:
|
if link_debug:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue