Skip to content

Instantly share code, notes, and snippets.

@aleksandrs-ledovskis
Last active November 11, 2023 01:06
Show Gist options
  • Star 30 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save aleksandrs-ledovskis/0b149b996c7a1ebc16126c60a79433ec to your computer and use it in GitHub Desktop.
Save aleksandrs-ledovskis/0b149b996c7a1ebc16126c60a79433ec to your computer and use it in GitHub Desktop.
Lock Spotify version (macOS)
  1. Create new Automator application with Run Shell script action (exact steps below).

    1. Open Automator.app (e.g. from Spotlight)
    2. Select File → New in menu
    3. Select "Application", click "Choose"
    4. With "Actions" toggle selected, type "Run Shell Script" in filter box, double click on filtered item
  2. Put contents from lock_spotify_version.sh into script's body (exact steps below).

    1. In opened right-hand item select /bin/sh as "Shell" type and copy contents of Gist's "lock_spotify_version.sh" below/in text area
    2. Select File → Save in menu; Save as application name of your choice (e.g. "Lock Spotify.app")
  3. Add resulting application to user's "Login Items"

  4. Restart computer

  5. Install Spotify version of choice


N.B. The Automator-built application should not be run manually. Its task is to run as early as possible and squat the folder name that Spotify uses for updates. If Spotify is unable to access said hardcoded path, it skips update

#!/bin/sh
mkdir -p $TMPDIR/sp_update && chmod 000 $TMPDIR/sp_update
@lordaslanthekingofnarnia

I know this might be strange but would you be open to a zoom call or something?

I feel as though I have done the steps and tried troubleshooting it multiple times to no end....

Anything would be greatly appreciated!!

@tascott
Copy link

tascott commented Jul 23, 2021

I know this might be strange but would you be open to a zoom call or something?

I feel as though I have done the steps and tried troubleshooting it multiple times to no end....

Anything would be greatly appreciated!!

If you're still stuck, try this - https://www.reddit.com/r/spotify/comments/cpadkq/stop_upgrade_mac_app/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment