diff --git a/src/cmd/cmd.go b/src/cmd/cmd.go index 35be90cc06..4eedfb8a15 100644 --- a/src/cmd/cmd.go +++ b/src/cmd/cmd.go @@ -58,6 +58,9 @@ func InitPaths() { spotifyPath = settingSection.Key("spotify_path").String() prefsPath = settingSection.Key("prefs_path").String() + spotifyPath = utils.ReplaceEnvVarsInString(spotifyPath) + prefsPath = utils.ReplaceEnvVarsInString(prefsPath) + if len(spotifyPath) == 0 { spotifyPath = utils.FindAppPath()