This commit is contained in:
Alexandre
2023-02-11 22:19:41 +01:00
2 changed files with 1 additions and 48 deletions

View File

@@ -37,50 +37,6 @@ RUN \
&& sed -i "1a if bashio::config.has_value 'customUI'; then TRANSMISSION_WEB_HOME=/\$(bashio::config 'customUI'); fi" /etc/s6-overlay/s6-rc.d/svc-transmission/run \
&& ln -s /usr/share/transmission/web /standard
# Add customui
RUN \
echo "**** install third party themes ****" && \
TRANSMISSIONIC_VERSION=$(curl -s "https://api.github.com/repos/6c65726f79/Transmissionic/releases/latest" | jq -r .tag_name) && \
curl -o \
/tmp/transmissionic.zip -L \
"https://github.com/6c65726f79/Transmissionic/releases/download/${TRANSMISSIONIC_VERSION}/Transmissionic-webui-${TRANSMISSIONIC_VERSION}.zip" && \
unzip \
/tmp/transmissionic.zip -d \
/tmp && \
mv /tmp/web /transmissionic && \
curl -o \
/tmp/combustion.zip -L \
"https://github.com/Secretmapper/combustion/archive/release.zip" && \
unzip \
/tmp/combustion.zip -d \
/ && \
mkdir -p /tmp/twctemp && \
TWCVERSION=$(curl -s "https://api.github.com/repos/ronggang/transmission-web-control/releases/latest" | jq -r .tag_name) && \
curl -o \
/tmp/twc.tar.gz -L \
"https://github.com/ronggang/transmission-web-control/archive/${TWCVERSION}.tar.gz" && \
tar xf \
/tmp/twc.tar.gz -C \
/tmp/twctemp --strip-components=1 && \
mv /tmp/twctemp/src /transmission-web-control && \
# Enables the original UI button in transmission-web-control
ln -s /usr/share/transmission/web/style /transmission-web-control && \
ln -s /usr/share/transmission/web/images /transmission-web-control && \
ln -s /usr/share/transmission/web/javascript /transmission-web-control && \
ln -s /usr/share/transmission/web/index.html /transmission-web-control/index.original.html && \
mkdir -p /kettu && \
curl -o \
/tmp/kettu.tar.gz -L \
"https://github.com/endor/kettu/archive/master.tar.gz" && \
tar xf \
/tmp/kettu.tar.gz -C \
/kettu --strip-components=1 && \
curl -o \
/tmp/flood-for-transmission.tar.gz -L \
"https://github.com/johman10/flood-for-transmission/releases/download/latest/flood-for-transmission.tar.gz" && \
tar xf \
/tmp/flood-for-transmission.tar.gz -C
# Global LSIO modifications
ARG CONFIGLOCATION="/config/addons_config/transmission"
# hadolint ignore=SC2015, SC2013, SC2086

View File

@@ -43,7 +43,6 @@
"/dev/nvme2"
],
"environment": {
"TRANSMISSION_WEB_HOME": "/transmission-web-control/"
},
"image": "ghcr.io/alexbelgium/transmission_ls-{arch}",
"ingress": true,
@@ -59,7 +58,6 @@
"DNS_server": "8.8.8.8,1.1.1.1",
"PGID": 0,
"PUID": 0,
"customUI": "transmission-web-control",
"download_dir": "/share/downloads",
"incomplete_dir": "/share/incomplete"
},
@@ -85,7 +83,6 @@
"TZ": "str?",
"cifspassword": "str?",
"cifsusername": "str?",
"customUI": "list(standard|combustion-release|transmission-web-control|kettu|flood-for-transmission|transmissionic)",
"download_dir": "str",
"incomplete_dir": "str?",
"localdisks": "str?",
@@ -98,5 +95,5 @@
},
"slug": "transmission_ls",
"url": "https://github.com/alexbelgium/hassio-addons",
"version": "NOT_WORKING_DONT_UPDATE4"
"version": "4.0.0-r0-ls152-2"
}