Skip to content

Commit 6a1363a

Browse files
committed
fix(InitPaths): check for Apps folder
1 parent eb8e1f2 commit 6a1363a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cmd/cmd.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@ func InitPaths() {
5959

6060
spotifyPath = utils.ReplaceEnvVarsInString(spotifyPath)
6161
prefsPath = utils.ReplaceEnvVarsInString(prefsPath)
62+
testPath := filepath.Join(spotifyPath, "Apps")
6263

63-
if _, err := os.Stat(spotifyPath); err != nil {
64+
if _, err := os.Stat(testPath); err != nil {
6465
actualSpotifyPath := utils.FindAppPath()
6566

6667
if len(actualSpotifyPath) == 0 {

0 commit comments

Comments
 (0)