File remove.sh of Package spotify-remove-ad-banner

#!/bin/bash
cd /usr/lib64/spotify-client/Apps
cp xpui.spa xpui.spa.bak  # create the backup
unzip -p xpui.spa xpui.js | sed 's/adsEnabled:\!0/adsEnabled:false/' > xpui.js
zip --update xpui.spa xpui.js
rm xpui.js
openSUSE Build Service is sponsored by