Add missing argument to amd installation script

This commit is contained in:
Manuel Thalmann 2023-07-15 20:23:40 +02:00
parent 0d69995cdd
commit e57b8293c2
2 changed files with 4 additions and 2 deletions

View file

@ -3,4 +3,4 @@
param([Context] $context) param([Context] $context)
. "$PSScriptRoot/../../Scripts/AmdSoftwarePackage.ps1"; . "$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";

View file

@ -1,9 +1,11 @@
#!/bin/pwsh #!/bin/pwsh
. "$PSScriptRoot/Context.ps1";
. "$PSScriptRoot/BrowserAutomation.ps1"; . "$PSScriptRoot/BrowserAutomation.ps1";
function Install-AmdSoftwarePackage() { function Install-AmdSoftwarePackage() {
param( param(
[string]$url [Context] $context,
[string] $url
) )
$tempDir = $context.GetTempDirectory(); $tempDir = $context.GetTempDirectory();