Add missing argument to amd installation script
This commit is contained in:
parent
0d69995cdd
commit
e57b8293c2
2 changed files with 4 additions and 2 deletions
|
@ -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";
|
||||||
|
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue