mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-09 10:11:21 +00:00
dotnet-sdk: Set DOTNET_ROOT (#153)
This helps with e.g. making global tools work correctly; see [this blog post][1] for more details. [1]: https://natemcmaster.com/blog/2018/05/12/dotnet-global-tools/#installing-the-net-core-cli-into-a-non-default-location
This commit is contained in:
parent
c7453c5a49
commit
b6aa90398b
@ -14,6 +14,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"bin": "dotnet.exe",
|
"bin": "dotnet.exe",
|
||||||
|
"env_set": {
|
||||||
|
"DOTNET_ROOT": "$dir"
|
||||||
|
},
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"url": "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/releases-index.json",
|
"url": "https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/releases-index.json",
|
||||||
"jsonpath": "$..releases-index[?(@.support-phase == 'current')].latest-sdk"
|
"jsonpath": "$..releases-index[?(@.support-phase == 'current')].latest-sdk"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user