Skip to content

Commit 1088a6c

Browse files
committed
fix webui archive naming to avoid nested directories
1 parent 5668318 commit 1088a6c

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ Curated color themes for **qBittorrent**, available for both the Qt desktop clie
99

1010
| Theme | Palette | Qt Client | WebUI |
1111
|-------|---------|-----------|-------|
12-
| **Dark** | ![Dark](assets/palette-dark.svg) | [.qbtheme](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/dark.qbtheme) | [tar.gz](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/dark.tar.gz) · [zip](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/dark.zip) |
13-
| **Dracula** | ![Dracula](assets/palette-dracula.svg) | [.qbtheme](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/dracula.qbtheme) | [tar.gz](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/dracula.tar.gz) · [zip](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/dracula.zip) |
14-
| **Gruvbox Dark** | ![Gruvbox Dark](assets/palette-gruvbox-dark.svg) | [.qbtheme](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/gruvbox-dark.qbtheme) | [tar.gz](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/gruvbox-dark.tar.gz) · [zip](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/gruvbox-dark.zip) |
15-
| **Gruvbox Light** | ![Gruvbox Light](assets/palette-gruvbox-light.svg) | [.qbtheme](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/gruvbox-light.qbtheme) | [tar.gz](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/gruvbox-light.tar.gz) · [zip](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/gruvbox-light.zip) |
16-
| **Solarized Dark** | ![Solarized Dark](assets/palette-solarized-dark.svg) | [.qbtheme](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/solarized-dark.qbtheme) | [tar.gz](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/solarized-dark.tar.gz) · [zip](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/solarized-dark.zip) |
17-
| **Solarized Light** | ![Solarized Light](assets/palette-solarized-light.svg) | [.qbtheme](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/solarized-light.qbtheme) | [tar.gz](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/solarized-light.tar.gz) · [zip](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/solarized-light.zip) |
12+
| **Dark** | ![Dark](assets/palette-dark.svg) | [.qbtheme](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/dark.qbtheme) | [tar.gz](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/webui-dark.tar.gz) · [zip](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/webui-dark.zip) |
13+
| **Dracula** | ![Dracula](assets/palette-dracula.svg) | [.qbtheme](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/dracula.qbtheme) | [tar.gz](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/webui-dracula.tar.gz) · [zip](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/webui-dracula.zip) |
14+
| **Gruvbox Dark** | ![Gruvbox Dark](assets/palette-gruvbox-dark.svg) | [.qbtheme](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/gruvbox-dark.qbtheme) | [tar.gz](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/webui-gruvbox-dark.tar.gz) · [zip](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/webui-gruvbox-dark.zip) |
15+
| **Gruvbox Light** | ![Gruvbox Light](assets/palette-gruvbox-light.svg) | [.qbtheme](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/gruvbox-light.qbtheme) | [tar.gz](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/webui-gruvbox-light.tar.gz) · [zip](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/webui-gruvbox-light.zip) |
16+
| **Solarized Dark** | ![Solarized Dark](assets/palette-solarized-dark.svg) | [.qbtheme](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/solarized-dark.qbtheme) | [tar.gz](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/webui-solarized-dark.tar.gz) · [zip](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/webui-solarized-dark.zip) |
17+
| **Solarized Light** | ![Solarized Light](assets/palette-solarized-light.svg) | [.qbtheme](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/solarized-light.qbtheme) | [tar.gz](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/webui-solarized-light.tar.gz) · [zip](https://github.com/MahdiMirzadeh/qbittorrent/releases/latest/download/webui-solarized-light.zip) |
1818

1919
## 🚀 Installation
2020

@@ -24,7 +24,7 @@ Curated color themes for **qBittorrent**, available for both the Qt desktop clie
2424
2. Extract it to a directory:
2525
```bash
2626
mkdir -p ~/.config/qbittorrent/webui
27-
tar -xzf dracula.tar.gz -C ~/.config/qbittorrent/webui
27+
tar -xzf webui-dracula.tar.gz -C ~/.config/qbittorrent/webui
2828
```
2929
3. In qBittorrent:
3030
- Go to **Tools → Options → Web UI**

gen.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ EOF
181181
# Build WebUI archive if enabled
182182
if [ "$BUILD_WEBUI" = "1" ] && [ -d "$TEMPLATE_WEBUI_DIR" ] && [ -f "$TEMPLATE_WEBUI_DIR/private/css/theme.css.template" ]; then
183183
echo " -> Building WebUI theme"
184-
ARCHIVE_BASENAME=${THEME_NAME}
185184
ARCHIVE_ROOT_NAME=webui-${THEME_NAME}
185+
ARCHIVE_BASENAME=${ARCHIVE_ROOT_NAME}
186186

187187
TMP_WEBUI_BASE=$(mktemp -d 2>/dev/null || mktemp -d -t qbt_webui.XXXXXX)
188188
TMP_WEBUI_DIR="$TMP_WEBUI_BASE/$ARCHIVE_ROOT_NAME"

0 commit comments

Comments
 (0)