Skip to content

Commit 5ad841d

Browse files
authored
Fixes (#9809)
1 parent 02da3fc commit 5ad841d

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

frontend/public/json/wizarr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"interface_port": 5690,
1313
"documentation": "https://docs.wizarr.dev/",
1414
"website": "https://docs.wizarr.dev/",
15-
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@master/webp/wizarr.webp",
15+
"logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/wizarr.webp",
1616
"config_path": "/opt/wizarr/.env",
1717
"description": "Wizarr is an automatic user invitation system for Plex, Jellyfin and Emby. Create a unique link and share it to a user and they will automatically be invited to your media Server",
1818
"install_methods": [

install/wizarr-install.sh

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,25 +19,23 @@ msg_ok "Installed Dependencies"
1919

2020
setup_uv
2121
NODE_VERSION="22" setup_nodejs
22-
fetch_and_deploy_gh_release "wizarr" "wizarrrr/wizarr"
22+
fetch_and_deploy_gh_release "wizarr" "wizarrrr/wizarr" "tarball"
23+
import_local_ip
2324

2425
msg_info "Configure Wizarr"
25-
cd /opt/wizarr || exit
26+
cd /opt/wizarr
2627
$STD /usr/local/bin/uv sync --frozen
2728
$STD /usr/local/bin/uv run --frozen pybabel compile -d app/translations
2829
$STD npm --prefix app/static install
2930
$STD npm --prefix app/static run build:css
3031
mkdir -p ./.cache
31-
32-
LOCAL_IP="$(hostname -I | awk '{print $1}')"
33-
VERSION="$(sed 's/^20/v&/' ~/.wizarr)"
3432
cat <<EOF >/opt/wizarr/.env
3533
FLASK_ENV=production
3634
GUNICORN_WORKERS=4
3735
APP_URL=http://${LOCAL_IP}
3836
DISABLE_BUILTIN_AUTH=false
3937
LOG_LEVEL=INFO
40-
APP_VERSION=${VERSION}
38+
APP_VERSION=v$(get_latest_github_release "wizarrrr/wizarr")
4139
EOF
4240

4341
cat <<EOF >/opt/wizarr/start.sh

0 commit comments

Comments
 (0)