From c54ae41aa6b39ee8def10001d176958837252b6b Mon Sep 17 00:00:00 2001 From: Mylloon Date: Tue, 28 Dec 2021 17:12:17 +0100 Subject: [PATCH] use our dedicated rust script installation and remove spotify banner --- installSpotify.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/installSpotify.sh b/installSpotify.sh index d34379f..28cece5 100644 --- a/installSpotify.sh +++ b/installSpotify.sh @@ -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) 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 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 fi +# Remove banner +wget -q --show-progress https://git.kennel.ml/Anri/myLinuxConfiguration/raw/branch/main/removeBannerSpotify.sh -O - | bash + echo -e "\nSpotify patched! 🎉"