diff --git a/src/scripts/win32.ps1 b/src/scripts/win32.ps1 index d7b4737d..cf2f31bc 100644 --- a/src/scripts/win32.ps1 +++ b/src/scripts/win32.ps1 @@ -106,6 +106,7 @@ Function Add-Env { Add-Content "$EnvName=$EnvValue" -Path $env:GITHUB_ENV -Encoding utf8 } else { Set-ItemProperty -Path 'hkcu:\Environment' -Name $EnvName -Value $EnvValue + Add-ToProfile $current_profile $EnvName "`$env:$EnvName=`"$EnvValue`"" } }