remove extra lines

This commit is contained in:
Dmitry Shibanov
2020-02-10 15:24:01 +03:00
parent bf2aafad27
commit d53d34e115

View File

@@ -63,8 +63,4 @@ Remove-Item -Path $DestFile -Force
Write-Host "Setting the environment variables"
Add-MachinePathItem -PathItem $FireFoxDriverPath
$regEnvKey = 'HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\'
$PathValue = Get-ItemPropertyValue -Path $regEnvKey -Name 'Path'
$PathValue += ";$FireFoxDriverPath"
Set-ItemProperty -Path $regEnvKey -Name 'Path' -Value $PathValue
exit 0