#!/bin/bash # BatchTube Tauri Rollback Script # Run this if Tauri build fails and you need to revert to NSIS installer echo "=== BatchTube Rollback ===" echo "Reverting to pre-Tauri state..." # Check if rollback tag exists if git tag | grep -q "v1.0-pre-tauri"; then git checkout v1.0-pre-tauri echo "✅ Reverted to v1.0-pre-tauri" echo "The original NSIS installer build is at: BatchTube App/BatchTube-Windows-Build.zip" echo "To rebuild: run build_windows.bat" else echo "❌ Rollback tag not found. Manual recovery needed." echo "Original source: Batchtube-snapshot-030526.zip" fi