From 0b08f97a637cebcc0307b52e3590ac9529eafec5 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sun, 16 Jul 2023 01:27:38 +0200 Subject: [PATCH] Fix non-functioning code --- scripts/Windows/OS/Install.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Windows/OS/Install.ps1 b/scripts/Windows/OS/Install.ps1 index f0bb39c8..ba43e61e 100644 --- a/scripts/Windows/OS/Install.ps1 +++ b/scripts/Windows/OS/Install.ps1 @@ -19,7 +19,7 @@ function Invoke-WindowsInstallation([Context] $context) choco install -y firefox selenium-gecko-driver; Install-Package -Force Selenium.WebDriver -SkipDependencies; - $context.Set("SoftwarePrerequisitesInstalled", 1); + $context.Set("SoftwarePrerequisitesInstalled", 1, "DWord"); } if (-not $context.Get("DriversInstalled")) { @@ -32,7 +32,7 @@ function Invoke-WindowsInstallation([Context] $context) } Write-Information "Finished installing drivers"; - $context.Set("DriversInstalled", 1); + $context.Set("DriversInstalled", 1, "DWord"); $context.Reboot(); exit; }