Files
nfoguard/NFOGuard.Emby.Plugin/build-minimal.sh
T
2025-09-12 10:30:12 -04:00

51 lines
1.6 KiB
Bash
Executable File

#!/bin/bash
echo "Building NFOGuard Emby Plugin - Minimal Version"
echo "==============================================="
echo "No web components, no thumbnails, no config pages - just core functionality"
echo ""
# Clean previous builds
rm -rf bin obj
echo "Building minimal version..."
# Build minimal version
dotnet build NFOGuard.Emby.Plugin.csproj -c Release -f net48
if [ $? -eq 0 ]; then
# Create version directory
mkdir -p ../releases/v1.0.3-minimal
cp bin/Release/net48/NFOGuard.Emby.Plugin.dll ../releases/v1.0.3-minimal/
# Copy to main plugin-release directory for easy deployment
cp bin/Release/net48/NFOGuard.Emby.Plugin.dll ../plugin-release/
echo "✅ Minimal version built successfully"
echo ""
echo "🔍 NFOGuard v1.0.3-minimal ready!"
echo ""
echo "Features:"
echo "• Debug logging ENABLED by default"
echo "• NO web components (no UI loading issues)"
echo "• NO configuration page"
echo "• NO thumbnails or embedded resources"
echo "• Core functionality only"
echo "• New GUID to clear Emby cache completely"
echo ""
echo "This version should NOT cause web UI loading issues!"
echo ""
echo "Usage:"
echo "1. Remove old plugin DLL completely"
echo "2. Clear browser cache"
echo "3. Install new minimal DLL and restart Emby"
echo "4. Web UI should load normally"
echo "5. Run 'NFOGuard Date Sync' scheduled task"
echo ""
echo "Files ready:"
echo "• releases/v1.0.3-minimal/NFOGuard.Emby.Plugin.dll"
echo "• plugin-release/NFOGuard.Emby.Plugin.dll (for deployment)"
else
echo "❌ Build failed"
exit 1
fi