use our dedicated rust script installation and remove spotify banner
This commit is contained in:
parent
90c371e079
commit
c54ae41aa6
1 changed files with 4 additions and 1 deletions
|
@ -11,7 +11,7 @@ echo -e "\nSpotify installed!"
|
||||||
|
|
||||||
# We install the prerequisites to build and install the patch (Git and Rust will be installed and not removed)
|
# We install the prerequisites to build and install the patch (Git and Rust will be installed and not removed)
|
||||||
sudo apt install git make build-essential -y
|
sudo apt install git make build-essential -y
|
||||||
which rustc &> /dev/null || curl https://sh.rustup.rs -sSf | ( sh -s -- -y; source $HOME/.cargo/env ) # install rust if not already installed
|
which rustc &> /dev/null || wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/installRust.sh -O - | ( bash; source $HOME/.cargo/env ) # install rust if not already installed
|
||||||
|
|
||||||
# Download and build the patch
|
# Download and build the patch
|
||||||
git clone https://github.com/abba23/spotify-adblock.git
|
git clone https://github.com/abba23/spotify-adblock.git
|
||||||
|
@ -30,4 +30,7 @@ if [ -f /usr/share/applications/spotify.desktop ] ; then
|
||||||
sudo sed -i "7s#.*#Exec=env LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify %U#" /usr/share/applications/spotify.desktop
|
sudo sed -i "7s#.*#Exec=env LD_PRELOAD=/usr/local/lib/spotify-adblock.so spotify %U#" /usr/share/applications/spotify.desktop
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Remove banner
|
||||||
|
wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/removeBannerSpotify.sh -O - | bash
|
||||||
|
|
||||||
echo -e "\nSpotify patched! 🎉"
|
echo -e "\nSpotify patched! 🎉"
|
||||||
|
|
Reference in a new issue