diff --git a/scripts/Windows/OS/Install.ps1 b/scripts/Windows/OS/Install.ps1 index a45df67b..3ce945b8 100644 --- a/scripts/Windows/OS/Install.ps1 +++ b/scripts/Windows/OS/Install.ps1 @@ -10,6 +10,7 @@ $null = New-Module { . "$PSScriptRoot/../Scripts/Hooks.ps1"; . "$PSScriptRoot/../Scripts/Operations.ps1"; . "$PSScriptRoot/../Scripts/PowerManagement.ps1"; + . "$PSScriptRoot/../Scripts/Software.ps1"; . "$PSScriptRoot/../Scripts/SoftwareManagement.ps1"; . "$PSScriptRoot/../Scripts/Update.ps1"; . "$PSScriptRoot/../Types/InstallerAction.ps1"; @@ -69,6 +70,15 @@ $null = New-Module { continue; } + if (-not (Test-PSPackage Selenium.WebDriver)) { + Install-Module -AcceptLicense -Force NuGet; + Import-Module NuGet; + $null = Install-Package -Force Selenium.WebDriver -RequiredVersion 4.10.0 -SkipDependencies; + continue; + } + + Install-ChocoPackage firefox; + if (-not (& { wsl --status; $?; })) { wsl --install --no-launch; Restart-Intermediate;