Light theme default + yt-dlp search fallback
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
param(
|
||||
[Parameter(Mandatory=$false)]
|
||||
[string]$ProjectPath = "D:\07-Logiciels\23-youtube_personal"
|
||||
)
|
||||
|
||||
$expected = @{
|
||||
"lib\screens\video_player_page.dart" = "881f8283cc55bcdfd55798d09b0e720c515cccc3b92e0ff81e5c0c4460df8984"
|
||||
"lib\services\windows_hd_service.dart" = "c4173bcafc9345a57ee84cdc105a05f5d9fa3eee6b7a688613c7c7cba6785ea6"
|
||||
}
|
||||
|
||||
$allOk = $true
|
||||
foreach ($relative in $expected.Keys) {
|
||||
$path = Join-Path $ProjectPath $relative
|
||||
if (-not (Test-Path $path)) {
|
||||
Write-Host "MANQUANT : $relative"
|
||||
$allOk = $false
|
||||
continue
|
||||
}
|
||||
|
||||
$actual = (Get-FileHash -Algorithm SHA256 $path).Hash.ToLowerInvariant()
|
||||
if ($actual -eq $expected[$relative]) {
|
||||
Write-Host "OK : $relative"
|
||||
} else {
|
||||
Write-Host "MODIFIE : $relative"
|
||||
Write-Host " attendu: $($expected[$relative])"
|
||||
Write-Host " actuel : $actual"
|
||||
$allOk = $false
|
||||
}
|
||||
}
|
||||
|
||||
if ($allOk) {
|
||||
Write-Host ""
|
||||
Write-Host "La baseline 18.7.5 est intacte."
|
||||
exit 0
|
||||
}
|
||||
|
||||
Write-Host ""
|
||||
Write-Host "Le projet differe de la baseline 18.7.5. Cela peut etre volontaire si une nouvelle version a ete validee."
|
||||
exit 1
|
||||
Reference in New Issue
Block a user