mirror of
https://github.com/lutris/lutris
synced 2024-11-02 15:48:01 +00:00
Remove existing file before symlinking
This commit is contained in:
parent
9aef288545
commit
9933156e89
1 changed files with 2 additions and 0 deletions
|
@ -122,6 +122,8 @@ class DXVKManager:
|
|||
# Copying DXVK's version
|
||||
dxvk_dll_path = os.path.join(self.dxvk_path, dxvk_arch, "%s.dll" % dll)
|
||||
if os.path.exists(dxvk_dll_path):
|
||||
if wine_dll_path:
|
||||
os.remove(wine_dll_path)
|
||||
os.symlink(dxvk_dll_path, wine_dll_path)
|
||||
|
||||
def disable_dxvk_dll(self, system_dir, dxvk_arch, dll):
|
||||
|
|
Loading…
Reference in a new issue