Light theme default + yt-dlp search fallback
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
$ErrorActionPreference = "Stop"
|
||||
$ProjectRoot = $PSScriptRoot
|
||||
Set-Location $ProjectRoot
|
||||
Write-Host "=== Build APK Release ===" -ForegroundColor Cyan
|
||||
flutter clean
|
||||
flutter pub get
|
||||
flutter build apk --release
|
||||
if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }
|
||||
$apk = Join-Path $ProjectRoot "build\app\outputs\flutter-apk\app-release.apk"
|
||||
if (Test-Path $apk) {
|
||||
Write-Host ""
|
||||
Write-Host "[OK] APK : $apk" -ForegroundColor Green
|
||||
} else {
|
||||
throw "Build termine mais APK introuvable : $apk"
|
||||
}
|
||||
Reference in New Issue
Block a user