Skip to content

Commit 9017247

Browse files
committed
fix: init paths after unchainable commands
1 parent da480f7 commit 9017247

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spicetify.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,6 @@ func main() {
147147
return
148148
}
149149

150-
cmd.InitPaths()
151-
152150
// Unchainable commands
153151
switch commands[0] {
154152
case "config":
@@ -267,6 +265,8 @@ func main() {
267265
return
268266
}
269267

268+
cmd.InitPaths()
269+
270270
utils.PrintBold("spicetify v" + version)
271271
if slices.Contains(commands, "upgrade") || slices.Contains(commands, "update") {
272272
updateStatus := cmd.Update(version)

0 commit comments

Comments
 (0)