cd $(dirname $(realpath -L $(which spotify)))/Apps/ # absolute path to Spotify
sudo cp xpui.spa xpui.spa_bak # create a backup, in case of trouble
sudo bash -c "unzip -p xpui.spa xpui.js | sed 's/{adsEnabled:\!0}/{adsEnabled:false}/' > xpui.js"
sudo zip --update xpui.spa xpui.js
sudo rm xpui.js
echo -e "\nSpotify banner removed! 🎉"