Add missing package for selenium
This commit is contained in:
parent
fef722f9e5
commit
96ab1a2322
|
@ -69,7 +69,7 @@ $null = New-Module {
|
|||
. "$PSScriptRoot/../Software/winget/Manage.ps1";
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
if (-not (Test-PSPackage Selenium.WebDriver)) {
|
||||
Install-Module -AcceptLicense -Force NuGet;
|
||||
Import-Module NuGet;
|
||||
|
@ -77,7 +77,7 @@ $null = New-Module {
|
|||
continue;
|
||||
}
|
||||
|
||||
Install-ChocoPackage firefox;
|
||||
Install-ChocoPackage selenium-gecko-driver firefox;
|
||||
|
||||
if (-not (& { wsl --status; $?; })) {
|
||||
wsl --install --no-launch;
|
||||
|
@ -122,6 +122,31 @@ $null = New-Module {
|
|||
$arguments.Add("action", $Action);
|
||||
}
|
||||
|
||||
# Drivers
|
||||
$null = New-Module {
|
||||
$driverPath = "$PSScriptRoot/../Drivers";
|
||||
$mbPath = "$driverPath/ROG Zenith Extreme Alpha";
|
||||
|
||||
foreach ($component in (Get-Config "valhalla.hardware.components")) {
|
||||
|
||||
switch ($component) {
|
||||
("ROG Zenith Extreme Alpha") {
|
||||
. "$mbPath/MarvellEthernet/Manage.ps1" @arguments;
|
||||
. "$mbPath/IntelWiFi/Manage.ps1" @arguments;
|
||||
. "$mbPath/AMDChipsetX399/Manage.ps1" @arguments;
|
||||
. "$driverPath/AMDChipsetX399/Manage.ps1" @arguments;
|
||||
}
|
||||
("Predator Z301C") {
|
||||
. "$driverPath/Predator Z301C/Manage.ps1" @arguments;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (Get-Config "valhalla.hardware.eyeX") {
|
||||
. "$driverPath/Tobii EyeX/Manage.ps1" @arguments;
|
||||
}
|
||||
};
|
||||
|
||||
# Windows Config
|
||||
. "$PSScriptRoot/../Software/Windows/Manage.ps1" @arguments;
|
||||
|
||||
|
|
Loading…
Reference in a new issue