更新 Transmission

This commit is contained in:
2025-12-13 07:26:55 +08:00
parent 3a530ebd46
commit c05fe3f1f1
2 changed files with 8 additions and 0 deletions
+2
View File
@@ -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."
+6
View File
@@ -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)