Skip to content

Commit 7f5b6d7

Browse files
authored
Change PATH for installed programs though pub #11 (#12)
1 parent a04cff1 commit 7f5b6d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dart-sdk/chocolateyInstall.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ $unzipLocation = Get-ToolsLocation
77
$installDir = Join-Path $unzipLocation "dart-sdk"
88

99
Install-ChocolateyPath "$installDir\bin"
10-
Install-ChocolateyPath "${env:USERPROFILE}\AppData\Roaming\Pub\Cache\bin"
11-
$env:Path = "$($env:Path);$installDir\bin;${env:USERPROFILE}\AppData\Roaming\Pub\Cache\bin"
10+
Install-ChocolateyPath "${env:USERPROFILE}\AppData\Local\Pub\Cache\bin"
11+
$env:Path = "$($env:Path);$installDir\bin;${env:USERPROFILE}\AppData\Local\Pub\Cache\bin"
1212

1313
if (test-path $installDir) {
1414
Remove-Item $installDir -Recurse -Force

0 commit comments

Comments
 (0)