summarylogtreecommitdiffstats
path: root/remove.sh
blob: 2923581e4f5924fe35285b3536ddf6403abab9a3 (plain)
1
2
3
4
5
6
7
#!/bin/bash
cd /opt/spotify/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