Commit e61c35a
committed
[lfs] Only check XDG_CONFIG_HOME when not on 'Windows'
When running legendary through Wine and `XDG_CONFIG_HOME` is set in the environment,
`config_path` resolves to the absolute path to the Linux config directory. Wine in turn
resolves the path in the way that Legendary uses the existing Linux host config
directory instead of creating/using the one under Wine prefix in `%USERPROFILE%\.config`1 parent 6631459 commit e61c35a
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
| |||
0 commit comments