From e57b8293c2e0618b87fc35b94e306b811cfe12f3 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 15 Jul 2023 20:23:40 +0200 Subject: [PATCH] Add missing argument to amd installation script --- scripts/Windows/Drivers/AMDChipsetX399/Install.ps1 | 2 +- scripts/Windows/Scripts/AmdSoftwarePackage.ps1 | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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();