diff --git a/src/freedombone-utils-webadmin b/src/freedombone-utils-webadmin index f16abeb2e5911b0a3a2668b71b0688b931229b4b..5aeb62d1c5f2d940052bd781670161add3f7764c 100755 --- a/src/freedombone-utils-webadmin +++ b/src/freedombone-utils-webadmin @@ -772,7 +772,8 @@ function web_admin_create_installed_apps { cp "$app_template_filename" "$filename" - if [[ "$app_name" == 'pihole' ]]; then + # single icon, no qrcode + if [[ "$app_name" == 'pihole' || "$app_name" == 'dlna' ]]; then cp "$app2_template_filename" "$filename" fi @@ -833,6 +834,9 @@ function web_admin_create_installed_apps { sed -i '/.appurl/,/font-size:/s/font-size:.*/font-size: 150%;/' "$filename" sed -i "s|APPURL|DNS $(get_ipv4_address)|g" "$filename" fi + if [[ "$app_name" == 'dlna' ]]; then + sed -i "s|\"APPURL\"|\"\"|" "$filename" + fi if [[ "$app_name" != 'scuttlebot' ]]; then sed -i '/app_qrcode_/d' "$filename" sed -i '/APPURL/d' "$filename"