mirror of
https://github.com/lutris/lutris
synced 2024-09-05 23:46:21 +00:00
Cosmetic changes
This commit is contained in:
parent
b882799039
commit
34b72cb153
|
@ -13,11 +13,13 @@ DESKTOP_KEYS = ["Desktop", "Personal", "My Music", "My Videos", "My Pictures"]
|
|||
DEFAULT_DESKTOP_FOLDERS = ["Desktop", "My Documents", "My Music", "My Videos", "My Pictures"]
|
||||
DESKTOP_XDG = ["DESKTOP", "DOCUMENTS", "MUSIC", "VIDEOS", "PICTURES"]
|
||||
|
||||
|
||||
def is_prefix(path):
|
||||
"""Return True if the path is prefix"""
|
||||
return os.path.isdir(os.path.join(path, "drive_c")) \
|
||||
and os.path.exists(os.path.join(path, "user.reg"))
|
||||
|
||||
|
||||
def find_prefix(path):
|
||||
"""Given an executable path, try to find a Wine prefix associated with it."""
|
||||
dir_path = path
|
||||
|
|
Loading…
Reference in a new issue