Skip to content

Commit

Permalink
Change web control
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Dec 17, 2024
1 parent 2c00082 commit e65d67e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions transmission/rootfs/etc/cont-init.d/90-customUI.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,9 @@ if bashio::config.has_value 'customUI' && [ ! "$CUSTOMUI" = default ] && [ ! "$C
;;

"transmission-web-control")
curl -f -s -S -J -L -o /release.zip "$(curl -f -s -L https://api.github.com/repos/transmission-web-control/transmission-web-control/releases/latest | grep -o "http.*dist.zip" | head -1)" >/dev/null
### Install WebUI
mkdir -p /transmission-web-control
unzip -q /release.zip -d /transmission-web-control
mv /transmission-web-control/dist/* /transmission-web-control
rm -r /transmission-web-control/dist
rm /release.zip
curl -sL $(curl -s https://api.github.com/repos/ronggang/transmission-web-control/releases/latest | jq --raw-output '.tarball_url') | tar -C /transmission-web-control/ --strip-components=2 -xz \
# Enables the original UI button in transmission-web-control
ln -s /usr/share/transmission/public_html/* /transmission-web-control/ 2>/dev/null || true
ln -s /usr/share/transmission/public_html/index.html /transmission-web-control/index.original.html
Expand Down

0 comments on commit e65d67e

Please sign in to comment.