Fix invalid syntax
This commit is contained in:
parent
9b59884ef6
commit
a6af28dd6a
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ $null = New-Module {
|
||||||
$tempDir = $context.GetTempDirectory();
|
$tempDir = $context.GetTempDirectory();
|
||||||
$fileName = Join-Path "$tempDir" $configFile;
|
$fileName = Join-Path "$tempDir" $configFile;
|
||||||
$context.Restore($context.SoftwareArchive($softwareName), $tempDir);
|
$context.Restore($context.SoftwareArchive($softwareName), $tempDir);
|
||||||
& reg import "$fileName" /y;
|
& reg import "$fileName";
|
||||||
Remove-Item -Recurse $tempDir;
|
Remove-Item -Recurse $tempDir;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue