From 981e6d739caa4d0eac20e8caf04de91c99066c30 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 15 Jul 2023 20:32:43 +0200 Subject: [PATCH] Fix selector of download button for AMD drivers --- scripts/Windows/Scripts/AmdSoftwarePackage.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Windows/Scripts/AmdSoftwarePackage.ps1 b/scripts/Windows/Scripts/AmdSoftwarePackage.ps1 index 657e599a..690bb57b 100644 --- a/scripts/Windows/Scripts/AmdSoftwarePackage.ps1 +++ b/scripts/Windows/Scripts/AmdSoftwarePackage.ps1 @@ -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";