charm-gum@0.14.1: Fix extract_dir (#5780)

Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
This commit is contained in:
Y.D.X 2024-05-31 02:14:25 +08:00 committed by GitHub
parent 994c177a52
commit 5652a0305b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,11 +6,13 @@
"architecture": {
"32bit": {
"url": "https://github.com/charmbracelet/gum/releases/download/v0.14.1/gum_0.14.1_Windows_i386.zip",
"hash": "3abd943e02398a8e69944f13298dde6355d3834a0186b9ff7bfdfe43189d16db"
"hash": "3abd943e02398a8e69944f13298dde6355d3834a0186b9ff7bfdfe43189d16db",
"extract_dir": "gum_0.14.1_Windows_i386"
},
"64bit": {
"url": "https://github.com/charmbracelet/gum/releases/download/v0.14.1/gum_0.14.1_Windows_x86_64.zip",
"hash": "2d01d6e5d87e502d71867bf20e4c95cf712759068ac34f61a60ded6657ed2c09"
"hash": "2d01d6e5d87e502d71867bf20e4c95cf712759068ac34f61a60ded6657ed2c09",
"extract_dir": "gum_0.14.1_Windows_x86_64"
}
},
"bin": "gum.exe",
@ -19,18 +21,16 @@
"architecture": {
"32bit": {
"url": "https://github.com/charmbracelet/gum/releases/download/v$version/gum_$version_Windows_i386.zip",
"hash": {
"url": "$baseurl/checksums.txt",
"regex": "($sha256)\\s+gum_[\\d.]+_Windows_i386\\.zip"
}
"extract_dir": "gum_$version_Windows_i386"
},
"64bit": {
"url": "https://github.com/charmbracelet/gum/releases/download/v$version/gum_$version_Windows_x86_64.zip",
"extract_dir": "gum_$version_Windows_x86_64"
}
},
"hash": {
"url": "$baseurl/checksums.txt",
"regex": "($sha256)\\s+gum_[\\d.]+_Windows_x86_64\\.zip"
}
}
"regex": "($sha256).*?$basename"
}
}
}