homarr-dashboard/import-package/download-branding.sh

34 lines
1008 B
Bash

#!/bin/bash
#======================================================================
# Download favicon and logo from lemonlink.eu
#======================================================================
echo "Downloading branding from lemonlink.eu..."
# Create icons directory
mkdir -p icons
# Download favicon
curl -L -o icons/favicon.ico "https://lemonlink.eu/favicon.ico" 2>/dev/null
if [ -f icons/favicon.ico ]; then
echo "✓ Favicon downloaded"
else
echo "✗ Favicon not found, will use default"
fi
# Try common logo paths
curl -L -o icons/logo.png "https://lemonlink.eu/logo.png" 2>/dev/null || \
curl -L -o icons/logo.svg "https://lemonlink.eu/logo.svg" 2>/dev/null || \
curl -L -o icons/logo.jpg "https://lemonlink.eu/logo.jpg" 2>/dev/null
if ls icons/logo.* 1> /dev/null 2>&1; then
echo "✓ Logo downloaded"
else
echo "✗ Logo not found at common paths"
echo " Please manually add logo to icons/ folder"
fi
echo ""
echo "Branding files in icons/ folder:"
ls -la icons/