Fix selector of download button for AMD drivers

This commit is contained in:
Manuel Thalmann 2023-07-15 20:32:43 +02:00
parent 3a17bb60b8
commit 4431a89563

View file

@ -9,7 +9,7 @@ function Install-AmdSoftwarePackage() {
)
$tempDir = $context.GetTempDirectory();
$selector = 'summary:first div.driver:first a:contains("Download")';
$selector = '.os-group:first-of-type .driver:first-of-type a:first-of-type';
$file = Start-AutomatedDownload $context $url $selector $tempDir;
Start-Process -Wait -FilePath $file -ArgumentList "/S";