File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 2323 },
2424 "installer" : {
2525 "script" : [
26- " [Environment]::SetEnvironmentVariable('GOROOT', \" $persist_dir \\ .cargo \" , 'Process')" ,
27- " info \" Adding '$envgoroot \\ bin' to PATH...\" " ,
28- " Add-Path -Path \" $envgoroot \\ bin\" -Global:$global"
26+ " [Environment]::SetEnvironmentVariable('GOROOT', \" $env:USERPROFILE \\ .g \\ go \" , 'Process')" ,
27+ " info \" Adding '$env:GOROOT \\ bin' to PATH...\" " ,
28+ " Add-Path -Path \" $env:GOROOT \\ bin\" -Global:$global"
2929 ]
3030 },
3131 "uninstaller" : {
3232 "script" : [
33- " $envgoroot = \" $env:USERPROFILE\\ .g\\ go\" " ,
34- " if ($env:GOROOT) { $envgoroot = $env:GOROOT }" ,
35- " info \" Removing '$envgoroot\\ bin' from PATH...\" " ,
36- " Remove-Path -Path \" $envgoroot\\ bin\" -Global:$global"
33+ " [Environment]::SetEnvironmentVariable('GOROOT', \" $env:USERPROFILE\\ .g\\ go\" , 'Process')" ,
34+ " info \" Removing '$env:GOROOT\\ bin' from PATH...\" " ,
35+ " Remove-Path -Path \" $env:GOROOT\\ bin\" -Global:$global"
3736 ]
3837 },
3938 "bin" : " g.exe" ,
39+ "env_set" : {
40+ "GOROOT" : " $env:USERPROFILE\\ .g\\ go"
41+ },
4042 "checkver" : " github" ,
4143 "autoupdate" : {
4244 "architecture" : {
You can’t perform that action at this time.
0 commit comments