julionc/dotfiles

Outdated

gabrielmulle opened this issue · 4 comments

Hey dear friend,
This workaround to prevent Spotify from updating seems to be outdated, just got mine updated to the last version.
It seems that something has changed, I think the update folder is now under Persistent Cache folder .... Any ideas to udpate this? Thanks!!

+1 ill try to fix it

An update here: so inside PersistentCache folder there's the Update folder containing the update files.
What I did: added those two files Spotify_new.archive and Spotify_new.archive.sig inside this Update folder and also I locked down everything: these files, the update file (.tbz) and also the whole folder.
Some of this actions did it and it is no longer updating.

Hey @gabrielmulle it didn't work for me. I've found out that Spotify is downloading it's files to sp_update now located in $TMPDIR. This script should work, it scans TEMP and tries to retrieve sp_update, if it's present it will get deleted. Unfortunately setting permissions to 000 doesn't prevent Spotify from updaten, idk how they manage to do that.

https://gist.github.com/iJunkie22/94569f41186df962f272

Looks like this script is working just OK and its much simpler:

#!/bin/sh cd $TMPDIR && mkdir sp_update && chmod 000 $TMPDIR/sp_update

just schedule it to run at system restart because TMP folder will get cleaned up.