Commit 8d38e99
authored
fix(install): respect XDG_CONFIG_HOME (#839)
Apply the same logic that is used in
_spicetify/cli/src/utils/path-utils.go:GetSpicetifyFolder_.
$SPICETIFY_CONFIG_DIR is now, in order :
- $SPICETIFY_CONFIG
- $XDG_CONFIG_HOME/spicetify
- $HOME/.config/spicetify
This fixes a bug when installing `spicetify` and `marketplace` with a custom
$XDG_CONFIG_HOME, making the marketplace theme and custom app invisible to
spicetify.1 parent 4751c1f commit 8d38e99
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
0 commit comments