mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-06 00:31:20 +00:00
create go shims instead of adding dir to path (#1831)
This change makes the script create shims in the scoop shims directory instead of adding another directory to the path env variable. I believe this might be prefered instead of adding to the path variable.
This commit is contained in:
parent
6846e0fbe0
commit
2f628aef76
2
go.json
2
go.json
@ -6,7 +6,7 @@
|
|||||||
"env_set": {
|
"env_set": {
|
||||||
"GOROOT": "$dir"
|
"GOROOT": "$dir"
|
||||||
},
|
},
|
||||||
"env_add_path": "bin",
|
"bin": ["bin/go.exe","bin/gofmt.exe","bin/godoc.exe"],
|
||||||
"installer": {
|
"installer": {
|
||||||
"script": "add_first_in_path \"$env:USERPROFILE\\go\\bin\" $global"
|
"script": "add_first_in_path \"$env:USERPROFILE\\go\\bin\" $global"
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user