Add missing package for selenium

This commit is contained in:
Manuel Thalmann 2024-08-07 15:24:56 +02:00
parent 3304afd2e8
commit 63a6c16d99

View file

@ -78,7 +78,7 @@ $null = New-Module {
continue; continue;
} }
Install-ChocoPackage firefox; Install-ChocoPackage selenium-gecko-driver firefox;
if (-not (& { wsl --status; $?; })) { if (-not (& { wsl --status; $?; })) {
wsl --install --no-launch; wsl --install --no-launch;
@ -123,6 +123,31 @@ $null = New-Module {
$arguments.Add("action", $Action); $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 # Windows Config
. "$PSScriptRoot/../Software/Windows/Manage.ps1" @arguments; . "$PSScriptRoot/../Software/Windows/Manage.ps1" @arguments;