Skip to content

Commit cf47f29

Browse files
committed
fix(update): use GetSpotifyPath from cmd
1 parent 631146a commit cf47f29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spicetify.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ func main() {
248248
utils.PrintBold("spicetify v" + version)
249249
if slices.Contains(commands, "upgrade") || slices.Contains(commands, "update") {
250250
updateStatus := cmd.Update(version)
251-
spotifyPath := filepath.Join(utils.FindAppPath(), "Apps")
251+
spotifyPath := filepath.Join(cmd.GetSpotifyPath(), "Apps")
252252
ex, err := os.Executable()
253253
if err != nil {
254254
ex = "spicetify"

0 commit comments

Comments
 (0)