|
|
@ -184,7 +184,7 @@ function Checks |
|
|
|
} |
|
|
|
|
|
|
|
# Check whether LGPO.exe exists in the bin folder |
|
|
|
if (-not (Test-Path -Path "$PSScriptRoot\..\bin\LGPO.exe") |
|
|
|
if (-not (Test-Path -Path "$PSScriptRoot\..\bin\LGPO.exe")) |
|
|
|
{ |
|
|
|
Write-Warning -Message $Localization.Bin |
|
|
|
Start-Sleep -Seconds 5 |
|
|
@ -10216,7 +10216,6 @@ function HEIF |
|
|
|
$Raw | Select-String -Pattern '<tr style.*<a href=\"(?<url>.*)"\s.*>(?<text>.*)<\/a>' -AllMatches | ForEach-Object -Process {$_.Matches} | Where-Object -FilterScript {$_.Value -like "*x64*.appx*"} | ForEach-Object -Process { |
|
|
|
$TempURL = ($_.Groups | Select-Object -Index 1).Value |
|
|
|
$HEVCPackageName = ($_.Groups | Select-Object -Index 2).Value.Split("_") | Select-Object -Index 1 |
|
|
|
} |
|
|
|
|
|
|
|
# Installing "HEVC Video Extensions from Device Manufacturer" |
|
|
|
if ([System.Version]$HEVCPackageName -gt [System.Version](Get-AppxPackage -Name Microsoft.HEVCVideoExtension).Version) |
|
|
@ -10236,6 +10235,7 @@ function HEIF |
|
|
|
Remove-Item -Path "$DownloadsFolder\Microsoft.HEVCVideoExtension_8wekyb3d8bbwe.appx" -Force |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
catch [System.Net.WebException] |
|
|
|
{ |
|
|
|
Write-Warning -Message ($Localization.NoResponse -f "https://github.com") |
|
|
|