From a656399549974f18bf3b81b51bbb33c60142b235 Mon Sep 17 00:00:00 2001 From: darkelaina <3550664-tretrauit@users.noreply.gitlab.com> Date: Tue, 21 Dec 2021 13:53:52 +0000 Subject: [PATCH] We have to backup the chrome_elf.dll for BlockTheSpot to work. --- Apps/BlockTheSpot/install.bash | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/Apps/BlockTheSpot/install.bash b/Apps/BlockTheSpot/install.bash index b2b1b41..c4bb14d 100644 --- a/Apps/BlockTheSpot/install.bash +++ b/Apps/BlockTheSpot/install.bash @@ -37,15 +37,8 @@ echo "Extracting BlockTheSpot..." unzip -d chrome_elf chrome_elf.zip if [ -f "$SPOTIFY/chrome_elf.dll" ]; then - read -p "Do you want to backup Spotify files? [Y/n] " -n 1 -r - echo # (optional) move to a new line - if [[ $REPLY =~ ^[Yy]$ || -z $REPLY ]] - then - echo "Backuping files..." - mv "$SPOTIFY/chrome_elf.dll" "$SPOTIFY/chrome_elf_bak.dll" - else - [[ "$0" = "$BASH_SOURCE" ]] && exit 1 || return 1 # handle exits from shell or function but don't exit interactive shell - fi + echo "Backuping files..." + mv "$SPOTIFY/chrome_elf.dll" "$SPOTIFY/chrome_elf_bak.dll" fi WINEPREFIX=$WINEPREFIX wineserver -k