Detect installation properly

This commit is contained in:
Manuel Thalmann 2024-08-09 02:24:59 +02:00
parent 37b252d578
commit 6b7e30c035

View file

@ -142,10 +142,10 @@ $null = New-Module {
$arguments = [hashtable]@{ }; $arguments = [hashtable]@{ };
if ($Action) { if ($Action) {
$install = $true; $install = ($Action -eq ([InstallerAction]::Install));
$null = $arguments.Add("action", $Action); $null = $arguments.Add("action", $Action);
} else { } else {
$install = ($Action -eq ([InstallerAction]::Install)); $install = $true;
} }
# Drivers # Drivers