diff --git a/scripts/Windows/Drivers/AMDChipsetX399/Install.ps1 b/scripts/Windows/Drivers/AMDChipsetX399/Install.ps1 index e4cfadae..3a5d338f 100644 --- a/scripts/Windows/Drivers/AMDChipsetX399/Install.ps1 +++ b/scripts/Windows/Drivers/AMDChipsetX399/Install.ps1 @@ -3,4 +3,4 @@ param([Context] $context) . "$PSScriptRoot/../../Scripts/AmdSoftwarePackage.ps1"; -Install-AmdSoftwarePackage "https://www.amd.com/en/support/chipsets/amd-socket-tr4/x399"; +Install-AmdSoftwarePackage $context "https://www.amd.com/en/support/chipsets/amd-socket-tr4/x399"; diff --git a/scripts/Windows/Scripts/AmdSoftwarePackage.ps1 b/scripts/Windows/Scripts/AmdSoftwarePackage.ps1 index 15e2e431..657e599a 100644 --- a/scripts/Windows/Scripts/AmdSoftwarePackage.ps1 +++ b/scripts/Windows/Scripts/AmdSoftwarePackage.ps1 @@ -1,9 +1,11 @@ #!/bin/pwsh +. "$PSScriptRoot/Context.ps1"; . "$PSScriptRoot/BrowserAutomation.ps1"; function Install-AmdSoftwarePackage() { param( - [string]$url + [Context] $context, + [string] $url ) $tempDir = $context.GetTempDirectory();