From c2a00541a7ab2581167ab21bc2cdc3d6f86c87ac Mon Sep 17 00:00:00 2001 From: ririxi Date: Mon, 27 Nov 2023 09:02:25 +0100 Subject: [PATCH] fix: correct spotifyPath inside update cmd (#2685) --- spicetify.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spicetify.go b/spicetify.go index 2eca5c6e78..462f6b130c 100644 --- a/spicetify.go +++ b/spicetify.go @@ -7,6 +7,7 @@ import ( "log" "os" "os/exec" + "path/filepath" "runtime" "slices" "strings" @@ -239,7 +240,8 @@ func main() { ex = "spicetify" } - spotStat := spotifystatus.Get(utils.FindAppPath()) + spotifyPath := filepath.Join(utils.FindAppPath(), "Apps") + spotStat := spotifystatus.Get(spotifyPath) cmds := []string{"backup", "apply"} if !spotStat.IsBackupable() { cmds = append([]string{"restore"}, cmds...)