mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-02 06:41:19 +00:00
49 lines
1.8 KiB
JSON
49 lines
1.8 KiB
JSON
{
|
|
"homepage": "https://git-for-windows.github.io/",
|
|
"license": "GPL-2.0",
|
|
"version": "2.21.0.windows.1",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/git-for-windows/git/releases/download/v2.21.0.windows.1/MinGit-2.21.0-busybox-64-bit.zip",
|
|
"hash": "6c8e0fe7487f4c21796b7a9ab89343708ab06be238a51220a840d94dd4a86015"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/git-for-windows/git/releases/download/v2.21.0.windows.1/MinGit-2.21.0-busybox-32-bit.zip",
|
|
"hash": "78e8a0a971fd880ca7dca6759a3d1d4818033458e51052c0949c80968e9a891f"
|
|
}
|
|
},
|
|
"bin": [
|
|
"cmd\\git.exe",
|
|
"mingw64\\bin\\busybox.exe"
|
|
],
|
|
"notes": [
|
|
"To get Git to recognise OpenSSH, you will need to run",
|
|
"",
|
|
"scoop install openssh",
|
|
"[environment]::setenvironmentvariable('GIT_SSH', (resolve-path (scoop which ssh)), 'USER')",
|
|
"",
|
|
"and then restart powershell."
|
|
],
|
|
"checkver": {
|
|
"url": "https://github.com/git-for-windows/git/releases/latest",
|
|
"re": "v(?<version>[\\d\\w.]+)/MinGit-(?<short>[\\d.]+).*\\.zip"
|
|
},
|
|
"env_set": {
|
|
"GIT_INSTALL_ROOT": "$dir"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/git-for-windows/git/releases/download/v$matchVersion/MinGit-$matchShort-busybox-64-bit.zip"
|
|
},
|
|
"32bit": {
|
|
"url": "https://github.com/git-for-windows/git/releases/download/v$matchVersion/MinGit-$matchShort-busybox-32-bit.zip"
|
|
}
|
|
},
|
|
"hash": {
|
|
"url": "https://github.com/git-for-windows/git/releases/latest",
|
|
"find": "<td>$basename<\\/td>\\s*<td>([0-9a-fA-F]+)<\\/td>"
|
|
}
|
|
}
|
|
}
|