-
Create new Automator application with Run Shell script action (exact steps below).
- Open Automator.app (e.g. from Spotlight)
- Select File → New in menu
- Select "Application", click "Choose"
- With "Actions" toggle selected, type "Run Shell Script" in filter box, double click on filtered item
-
Put contents from
lock_spotify_version.sh
into script's body (exact steps below).- 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 - Select File → Save in menu; Save as application name of your choice (e.g. "Lock Spotify.app")
- In opened right-hand item select
-
Add resulting application to user's "Login Items"
-
Restart computer
-
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
@lordaslanthekingofnarnia