Skip to content

Commit

Permalink
fix(InitPaths): check for Apps folder
Browse files Browse the repository at this point in the history
  • Loading branch information
rxri committed Sep 7, 2024
1 parent eb8e1f2 commit 6a1363a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@ func InitPaths() {

spotifyPath = utils.ReplaceEnvVarsInString(spotifyPath)
prefsPath = utils.ReplaceEnvVarsInString(prefsPath)
testPath := filepath.Join(spotifyPath, "Apps")

if _, err := os.Stat(spotifyPath); err != nil {
if _, err := os.Stat(testPath); err != nil {
actualSpotifyPath := utils.FindAppPath()

if len(actualSpotifyPath) == 0 {
Expand Down

0 comments on commit 6a1363a

Please sign in to comment.