Skip to content

Commit

Permalink
Update 91-qbittorrent_configuration.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Nov 23, 2023
1 parent 8b573db commit 194a8a9
Showing 1 changed file with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ fi

# Clean data if not custom
if [ "$CUSTOMUI" = default ]; then
echo ""
bashio::log.warning "Default Webui selected ! It will not work for ingress, which will stay with vuetorrent"
echo ""
sed -i '/AlternativeUIEnabled/d' qBittorrent.conf
sed -i '/RootFolder/d' qBittorrent.conf
# Update ingress webui
Expand All @@ -186,20 +188,15 @@ if bashio::config.has_value 'customUI' && [ ! "$CUSTOMUI" = default ] && [ ! "$C

"qbit-matUI")
curl -f -s -S -J -L -o /webui/release.zip "$(curl -f -s https://api.github.com/repos/bill-ahmed/qbit-matUI/releases/latest | grep -o "http.*Unix.*.zip" | head -1)" >/dev/null
echo ""
bashio::log.warning "qbit-matUI selected ! It will not work for ingress, which will stay with vuetorrent"
echo ""
;;

"qb-web")
curl -f -s -S -J -L -o /webui/release.zip "$(curl -f -s https://api.github.com/repos/CzBiX/qb-web/releases | grep -o "http.*qb-web-.*zip" | head -1)" >/dev/null
;;

"iQbit")
curl -f -s -S -J -L -o /webui/release.zip "https://github.com/ntoporcov/iQbit/archive/master.zip" >/dev/null
;;

"DarkLight")
curl -f -s -S -J -L -o /webui/release.zip "$(curl -f -s https://api.github.com/repos/crash0verride11/DarkLight-qBittorent-WebUI/releases | grep -o "http.*www.zip" | head -1)" >/dev/null
;;

esac

### Install WebUI
Expand Down

0 comments on commit 194a8a9

Please sign in to comment.