Fix windows packages build

This commit is contained in:
Semyon Bezrukov
2025-10-25 01:48:20 +03:00
parent 3e1f627087
commit f98113bc3a

View File

@ -109,7 +109,7 @@ if ($Sign) {
Set-Location $PSScriptRoot
}
if ($Arch -ne "arm64" -and Test-Path "$BuildDir\desktop\vlc-cache-gen.exe") {
if (($Arch -ne "arm64") -and (Test-Path "$BuildDir\desktop\vlc-cache-gen.exe")) {
Write-Host "DELETE: $BuildDir\desktop\vlc-cache-gen.exe"
Remove-Item -Force -LiteralPath "$BuildDir\desktop\vlc-cache-gen.exe"
}