Add user expansion to create_prefix

This commit is contained in:
Mathieu Comandon 2023-10-18 14:27:01 -07:00
parent 7b17a9a25d
commit a1319a82dd

View file

@ -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