mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
remove extra lines
This commit is contained in:
@@ -63,8 +63,4 @@ Remove-Item -Path $DestFile -Force
|
|||||||
Write-Host "Setting the environment variables"
|
Write-Host "Setting the environment variables"
|
||||||
Add-MachinePathItem -PathItem $FireFoxDriverPath
|
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
|
exit 0
|
||||||
Reference in New Issue
Block a user