Fix invalid syntax

This commit is contained in:
Manuel Thalmann 2023-08-06 22:36:04 +02:00
parent 9b59884ef6
commit a6af28dd6a

View file

@ -23,7 +23,7 @@ $null = New-Module {
$tempDir = $context.GetTempDirectory();
$fileName = Join-Path "$tempDir" $configFile;
$context.Restore($context.SoftwareArchive($softwareName), $tempDir);
& reg import "$fileName" /y;
& reg import "$fileName";
Remove-Item -Recurse $tempDir;
}
}