mirror of
https://github.com/tcsenpai/UWINE.git
synced 2025-06-06 11:35:20 +00:00
gamelauncher.py: update comments
This commit is contained in:
parent
86f04a939e
commit
9edc4d6d30
@ -46,7 +46,7 @@ def setup_pfx(path: str) -> None:
|
||||
"""Create a symlink to the WINE prefix and tracked_files file."""
|
||||
if not (Path(path + "/pfx")).expanduser().is_symlink():
|
||||
# When creating the symlink, we want it to be in expanded form when passed unexpanded paths
|
||||
# Example: pfx -> /home/.wine
|
||||
# Example: pfx -> /home/foo/.wine
|
||||
# NOTE: When parsing a config file, an error can be raised if the prefix doesn't already exist
|
||||
Path(path + "/pfx").expanduser().symlink_to(Path(path).expanduser())
|
||||
Path(path + "/tracked_files").expanduser().touch()
|
||||
|
Loading…
x
Reference in New Issue
Block a user