Created
November 8, 2018 09:57
-
-
Save ZeroPivot/6f134b28000e07dbcdc6fd90d29bcede to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Script to fix a spotify problem (where abba.json prevents the browse page from loading) | |
# Written in Ruby by ArityWolf/Potential Difference (11/08/2018) | |
PATH_TO_SPOTIFY="C:/Users/[windows_username]/AppData/Roaming/Spotify/" | |
PATH_TO_ABBA="C:/Users/[windows username]/AppData/Local/Spotify/Users/[spotify username]/abba.json" | |
if (File.exist? PATH_TO_ABBA) | |
File.delete(PATH_TO_ABBA) | |
end | |
Dir.chdir(PATH_TO_SPOTIFY) | |
exec("spotify.exe") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment