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
#!/usr/bin/env bash | |
# Uninstallify -- remove Spotify + app/cache data | |
case $(uname | tr '[:upper:]' '[:lower:]') in | |
darwin*) platformType='macOS' ;; | |
*) platformType='Linux' ;; | |
esac | |
command pgrep [sS]potify 2>/dev/null | xargs kill -9 2>/dev/null |
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
#!/usr/bin/env bash | |
# The following script can run as a cron job to auto-update Spotify/SpotX-Bash | |
# Only "Debian-based" Linux distros using APT are supported | |
# Line #7 can be customized to set SpotX-Bash arguments | |
params="-h" | |
# Check for APT dependency and set default deb install location | |
command -v apt >/dev/null || { echo -e "Error: Debian-based Linux distro with APT support is required" >&2; exit 1; } |
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
#!/usr/bin/env bash | |
# The following script can run as a cron job to auto-update Spotify/SpotX-Bash | |
# Lines #6 and #7 can be customized to set Spotify.app location and SpotX-Bash arguments | |
appDir="/Applications/" | |
params="-Bh" | |
# Get macOS version | |
macOSVer=$(sw_vers -productVersion) |
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
#!/usr/bin/env bash | |
# Temporarily enable developer mode for the Spotify desktop client on Linux and macOS. | |
showHelp () { | |
echo -e \ | |
"Usage: ./tmpdevmodify.sh [option]\n | |
Options: | |
-c, --clearcache Clear Spotify app cache | |
-d, --debug Add Debug Tools to user dropdown menu |