show response in case of unsuccessful search

This commit is contained in:
amd64fox 2024-10-07 15:29:32 +03:00 committed by GitHub
parent a9cc95f110
commit dccc2d1c6f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -75,6 +75,8 @@ function Get-LatestSpotifyVersion {
}
else {
Write-Log "No matching Spotify file found"
Write-Log "Response:"
Write-Log $html
}
return $latestFile
}
@ -235,4 +237,4 @@ $tempPath = [System.IO.Path]::GetTempPath()
$spotifyTempDir = Join-Path $tempPath "Spotify"
New-Item -Path $spotifyTempDir -ItemType Directory -Force | Out-Null
Main
Main