Skip to content

Instantly share code, notes, and snippets.

@jetfir3
jetfir3 / tmpdevmodify.sh
Last active May 29, 2024 03:22
Temporarily enable developer mode for the Spotify desktop client on Linux and macOS.
#!/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
@jetfir3
jetfir3 / spotx-bash_updater.sh
Last active May 22, 2024 18:18
SpotX-Bash Updater (macOS)
#!/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="-Bd"
# Get macOS version
macOSVer=$(sw_vers -productVersion)
@jetfir3
jetfir3 / spotx-bash_updater.sh
Last active October 11, 2023 14:33
SpotX-Bash Updater (Linux via APT/deb)
#!/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; }
@jetfir3
jetfir3 / uninstallify.sh
Last active May 7, 2024 01:21
Uninstallify -- remove Spotify + app/cache data
#!/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
@echo off
:: This script parses High-Logic MainType 12.x reg info directly to the registry
:: Useful if unable to activate in MainType.exe -- reg data was revoked after going online, 64-bit activation issues, etc
setlocal EnableDelayedExpansion
echo(
echo MainType 12.x Reg Parser by jetfir3
echo Shout out RadiXX11 for the original keygen
:: https://radixx11rce3.blogspot.com/2023/09/high-logic-products-keygen-11.html