mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-05 00:01:20 +00:00
Set GIT_INSTALL_ROOT variable on installation
The GIT_INSTALL_ROOT env is required by cmder, otherwise it starts giving "Found old git at C:\Users\<name>\scoop\apps, but not using..."
This commit is contained in:
parent
2009d062de
commit
97045616d8
3
git.json
3
git.json
@ -32,6 +32,9 @@ and then restart powershell.",
|
|||||||
"url": "https://github.com/git-for-windows/git/releases/latest",
|
"url": "https://github.com/git-for-windows/git/releases/latest",
|
||||||
"re": "v(?<version>[\\d\\w.]+)/PortableGit-(?<short>[\\d.]+).*\\.exe"
|
"re": "v(?<version>[\\d\\w.]+)/PortableGit-(?<short>[\\d.]+).*\\.exe"
|
||||||
},
|
},
|
||||||
|
"env_set": {
|
||||||
|
"GIT_INSTALL_ROOT": "$dir"
|
||||||
|
},
|
||||||
"autoupdate": {
|
"autoupdate": {
|
||||||
"architecture": {
|
"architecture": {
|
||||||
"64bit": {
|
"64bit": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user