Skip to content

Commit

Permalink
fix(update): use GetSpotifyPath from cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
rxri committed Dec 1, 2024
1 parent 631146a commit cf47f29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spicetify.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func main() {
utils.PrintBold("spicetify v" + version)
if slices.Contains(commands, "upgrade") || slices.Contains(commands, "update") {
updateStatus := cmd.Update(version)
spotifyPath := filepath.Join(utils.FindAppPath(), "Apps")
spotifyPath := filepath.Join(cmd.GetSpotifyPath(), "Apps")
ex, err := os.Executable()
if err != nil {
ex = "spicetify"
Expand Down

0 comments on commit cf47f29

Please sign in to comment.