mirror of
https://github.com/derrod/legendary.git
synced 2025-01-09 22:15:27 +00:00
[core] Fix path expansion for macOS savegame variables
This commit is contained in:
parent
32e9ef1cd3
commit
90a4efdfbf
|
@ -704,9 +704,9 @@ class LegendaryCore:
|
|||
})
|
||||
elif sys_platform == 'darwin' and platform == 'Mac':
|
||||
path_vars.update({
|
||||
'{appdata}': os.path.expandvars('~/Library/Application Support'),
|
||||
'{userdir}': os.path.expandvars('~/Documents'),
|
||||
'{userlibrary}': os.path.expandvars('~/Library')
|
||||
'{appdata}': os.path.expanduser('~/Library/Application Support'),
|
||||
'{userdir}': os.path.expanduser('~/Documents'),
|
||||
'{userlibrary}': os.path.expanduser('~/Library')
|
||||
})
|
||||
else:
|
||||
# attempt to get WINE prefix from config
|
||||
|
|
Loading…
Reference in a new issue