diff --git a/scripts/Windows/OS/Install.ps1 b/scripts/Windows/OS/Install.ps1 index a6979c02..ec4786b6 100644 --- a/scripts/Windows/OS/Install.ps1 +++ b/scripts/Windows/OS/Install.ps1 @@ -78,7 +78,7 @@ $null = New-Module { continue; } - Install-ChocoPackage firefox; + Install-ChocoPackage selenium-gecko-driver firefox; if (-not (& { wsl --status; $?; })) { wsl --install --no-launch; @@ -123,6 +123,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;