mirror of
https://github.com/lutris/lutris
synced 2024-09-15 22:09:55 +00:00
Add user expansion to create_prefix
This commit is contained in:
parent
7b17a9a25d
commit
a1319a82dd
|
@ -95,6 +95,7 @@ def create_prefix( # noqa: C901
|
|||
overrides = {}
|
||||
if not prefix:
|
||||
raise ValueError("No Wine prefix path given")
|
||||
prefix = os.path.expanduser(prefix)
|
||||
logger.info("Creating a %s prefix in %s", arch, prefix)
|
||||
|
||||
# Follow symlinks, don't delete existing ones as it would break some setups
|
||||
|
|
Loading…
Reference in a new issue