()
| 212 | } |
| 213 | |
| 214 | func winApp() string { |
| 215 | path := filepath.Join(os.Getenv("APPDATA"), "Spotify") |
| 216 | if _, err := os.Stat(filepath.Join(path, "Spotify.exe")); err == nil { |
| 217 | return path |
| 218 | } |
| 219 | |
| 220 | return "" |
| 221 | } |
| 222 | |
| 223 | func winPrefs() string { |
| 224 | path := filepath.Join(os.Getenv("APPDATA"), "Spotify", "prefs") |