Files
unionflow-server-api/unionflow-mobile-apps/test_minimal.ps1
2025-08-20 21:00:35 +00:00

30 lines
1.2 KiB
PowerShell

# Test avec version ultra-minimal
Write-Host "🚀 Test avec version minimal (sans path_provider)..." -ForegroundColor Cyan
# Sauvegarder l'actuel et utiliser minimal
Copy-Item "pubspec.yaml" "pubspec_backup.yaml" -Force
Copy-Item "pubspec_minimal.yaml" "pubspec.yaml" -Force
Write-Host "📦 Installation des dépendances minimales..." -ForegroundColor Yellow
flutter clean
flutter pub get
Write-Host "🧪 Version temporaire + minimal activée" -ForegroundColor Green
Copy-Item "lib\main_temp.dart" "lib\main.dart" -Force
Write-Host ""
Write-Host "🚀 Essayez maintenant:" -ForegroundColor Cyan
Write-Host " flutter run" -ForegroundColor White
Write-Host " OU" -ForegroundColor Gray
Write-Host " flutter run -d chrome" -ForegroundColor White
Write-Host ""
Write-Host "📝 Pour revenir à la version complète:" -ForegroundColor Blue
Write-Host " Copy-Item pubspec_backup.yaml pubspec.yaml -Force" -ForegroundColor Gray
Write-Host " flutter pub get" -ForegroundColor Gray
Write-Host ""
Write-Host "🔑 Identifiants de test:" -ForegroundColor Magenta
Write-Host " 📧 Email: admin@unionflow.dev" -ForegroundColor White
Write-Host " 🔑 Mot de passe: admin123" -ForegroundColor White