You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The script works good, but its a hassle with opening the terminal, running then open Spotify.
Im not that informed in this sort of programming, but is there a way where opening spotify automatically runs mitm, and quits when spotify closes?? possibly clone this repo in Spotify.app/Contents/MacOS and creating a script which runs mitm before opening Spotify binary.
The text was updated successfully, but these errors were encountered:
#!/bin/zsh
cd {Spotify Adblock Directory Here}
number=$(ps aux | grep -v grep | grep -ci "Spotify")
if [ $number -gt 0 ] ;then
echo "Spotify is found to be running, relaunching Spotify"
pkill Spotify
else
echo "Spotify is not found to be running, launching Spotify"
fi
open -a Spotify
node mitm.js
Save this as a .sh file, running it should start the mitm service and open up spotify as well. You will have to close service and spotify manually though.
The script works good, but its a hassle with opening the terminal, running then open Spotify.
Im not that informed in this sort of programming, but is there a way where opening spotify automatically runs mitm, and quits when spotify closes?? possibly clone this repo in Spotify.app/Contents/MacOS and creating a script which runs mitm before opening Spotify binary.
The text was updated successfully, but these errors were encountered: