Skip to content
Snippets Groups Projects
Commit 7ce5708d authored by Bob Mottram's avatar Bob Mottram
Browse files

dlna screen

parent ba5ec52c
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment