Skip to content

Commit

Permalink
Update YouTube.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
farag2 authored Jul 20, 2024
1 parent 87d57a5 commit 8b1763c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scripts/YouTube.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ $Parameters = @{
UseBasicParsing = $true
Verbose = $true
}
$LatestSupported = ((Invoke-RestMethod @Parameters).patches | Where-Object -FilterScript {$_.name -eq "Video ads"}).compatiblePackages.versions | Sort-Object -Descending -Unique | Select-Object -First 1
$LatestSupportedYT = ((Invoke-RestMethod @Parameters).patches | Where-Object -FilterScript {$_.name -eq "Video ads"}).compatiblePackages.versions | Sort-Object -Descending -Unique | Select-Object -First 1

$LatestSupported = $LatestSupported.Replace(".", "-")
$LatestSupported = $LatestSupportedYT.Replace(".", "-")

# We need a NON-bundle version
# https://www.apkmirror.com/apk/google-inc/youtube/
Expand Down

0 comments on commit 8b1763c

Please sign in to comment.