#!/bin/bash #====================================================================== # Create Homarr Import ZIP #====================================================================== echo "Creating Homarr import package..." cd import-package # Download branding first bash download-branding.sh 2>/dev/null || echo "Skipping branding download" # Create ZIP zip -r ../lemonlink-homarr-import.zip \ config.json \ README.txt \ icons/ \ 2>/dev/null cd .. if [ -f lemonlink-homarr-import.zip ]; then echo "✓ Import package created: lemonlink-homarr-import.zip" echo "" echo "To use:" echo "1. In Homarr, go to Onboarding or Manage → Tools" echo "2. Select 'Import from Homarr before 1.0.0'" echo "3. Upload lemonlink-homarr-import.zip" echo "" echo "Or manually extract and configure using the JSON files." else echo "✗ Failed to create ZIP" echo "Make sure zip is installed: apt-get install zip" fi