diff --git a/apps/transmission/2.94/scripts/init.sh b/apps/transmission/2.94/scripts/init.sh index b2e1da94a..03202d7e9 100644 --- a/apps/transmission/2.94/scripts/init.sh +++ b/apps/transmission/2.94/scripts/init.sh @@ -20,9 +20,11 @@ if [ -f .env ]; then if command -v unzip >/dev/null 2>&1; then unzip -o themes/flood-for-transmission.zip -d "$TRANSMISSION_ROOT_PATH/themes" + unzip -o themes/transmission-web-control.zip -d "$TRANSMISSION_ROOT_PATH/themes" UNZIP_SUCCESS=$? elif command -v tar >/dev/null 2>&1; then tar -xf themes/flood-for-transmission.zip -C "$TRANSMISSION_ROOT_PATH/themes" + tar -xf themes/transmission-web-control.zip -C "$TRANSMISSION_ROOT_PATH/themes" UNZIP_SUCCESS=$? else echo "Warning: Neither 'unzip' nor 'tar' is installed. Skipping theme extraction." diff --git a/apps/transmission/README.md b/apps/transmission/README.md index a77ac00a9..5da7752a9 100644 --- a/apps/transmission/README.md +++ b/apps/transmission/README.md @@ -20,6 +20,12 @@ Transmission 是一个快速、轻量级的 BitTorrent 客户端,支持多种 参数不需要 `/home/transmission` 前缀,只需要填写 `/config/themes/<主题目录名称>` 即可。 +#### 内置主题 + +`/themes/flood-for-transmission` 内置主题 + +`/themes/transmission-web-control` 内置主题 + --- ![Ms Studio](https://file.lifebus.top/imgs/ms_blank_001.png)