ghq: Add extract_dir (#25)

close #23
This commit is contained in:
Greg Lucas 2019-05-03 16:53:43 -04:00 committed by Richard Kuhnt
parent 01321681e3
commit c7aaa53ad9

View File

@ -5,11 +5,13 @@
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://github.com/motemen/ghq/releases/download/v0.11.0/ghq_windows_amd64.zip", "url": "https://github.com/motemen/ghq/releases/download/v0.11.0/ghq_windows_amd64.zip",
"hash": "sha1:19f2614dace56e04fddeb248d7106a074d025a63" "hash": "sha1:19f2614dace56e04fddeb248d7106a074d025a63",
"extract_dir": "ghq_windows_amd64"
}, },
"32bit": { "32bit": {
"url": "https://github.com/motemen/ghq/releases/download/v0.11.0/ghq_windows_386.zip", "url": "https://github.com/motemen/ghq/releases/download/v0.11.0/ghq_windows_386.zip",
"hash": "sha1:25867955e088f71c121adf578c732af2d7a74c1a" "hash": "sha1:25867955e088f71c121adf578c732af2d7a74c1a",
"extract_dir": "ghq_windows_386"
} }
}, },
"bin": "ghq.exe", "bin": "ghq.exe",
@ -17,10 +19,12 @@
"autoupdate": { "autoupdate": {
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "https://github.com/motemen/ghq/releases/download/v$version/ghq_windows_amd64.zip" "url": "https://github.com/motemen/ghq/releases/download/v$version/ghq_windows_amd64.zip",
"extract_dir": "ghq_windows_amd64"
}, },
"32bit": { "32bit": {
"url": "https://github.com/motemen/ghq/releases/download/v$version/ghq_windows_386.zip" "url": "https://github.com/motemen/ghq/releases/download/v$version/ghq_windows_386.zip",
"extract_dir": "ghq_windows_386"
} }
}, },
"hash": { "hash": {