mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2026-06-16 01:02:14 +08:00
更新 Transmission
This commit is contained in:
@@ -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."
|
||||
|
||||
@@ -20,6 +20,12 @@ Transmission 是一个快速、轻量级的 BitTorrent 客户端,支持多种
|
||||
|
||||
参数不需要 `/home/transmission` 前缀,只需要填写 `/config/themes/<主题目录名称>` 即可。
|
||||
|
||||
#### 内置主题
|
||||
|
||||
`/themes/flood-for-transmission` 内置主题
|
||||
|
||||
`/themes/transmission-web-control` 内置主题
|
||||
|
||||
---
|
||||
|
||||

|
||||
|
||||
Reference in New Issue
Block a user