mirror of
https://github.com/lutris/lutris
synced 2024-11-02 15:48:01 +00:00
Catch DXVK symlink creation failures
This commit is contained in:
parent
157ab4a3ed
commit
20d1f85094
1 changed files with 4 additions and 1 deletions
|
@ -182,7 +182,10 @@ class DXVKManager:
|
|||
shutil.move(wine_dll_path, wine_dll_path + ".orig")
|
||||
else:
|
||||
os.remove(wine_dll_path)
|
||||
os.symlink(dxvk_dll_path, wine_dll_path)
|
||||
try:
|
||||
os.symlink(dxvk_dll_path, wine_dll_path)
|
||||
except OSError:
|
||||
logger.error("Failed linking %s to %s", dxvk_dll_path, wine_dll_path)
|
||||
else:
|
||||
self.disable_dxvk_dll(system_dir, dxvk_arch, dll)
|
||||
|
||||
|
|
Loading…
Reference in a new issue