mirror of
https://github.com/lutris/lutris
synced 2024-10-14 03:32:52 +00:00
Fix: Sandbox in non-english prefixes
This commit is contained in:
parent
1db904644f
commit
d38ce1b36b
|
@ -157,7 +157,7 @@ class WinePrefixManager:
|
|||
# Security: Remove other symlinks.
|
||||
for item in os.listdir(user_dir):
|
||||
path = os.path.join(user_dir, item)
|
||||
if item not in DEFAULT_DESKTOP_FOLDERS and os.path.islink(path):
|
||||
if item not in desktop_folders and os.path.islink(path):
|
||||
os.unlink(path)
|
||||
os.makedirs(path)
|
||||
|
||||
|
|
Loading…
Reference in a new issue