mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-16 05:31:21 +00:00
44 lines
1.8 KiB
JSON
44 lines
1.8 KiB
JSON
{
|
|
"version": "3.1.1",
|
|
"description": "This is the official CLI for the IPinfo.io IP address API",
|
|
"license": "Apache-2.0",
|
|
"homepage": "https://github.com/ipinfo/cli",
|
|
"architecture": {
|
|
"32bit": {
|
|
"url": "https://github.com/ipinfo/cli/releases/download/ipinfo-3.1.1/ipinfo_3.1.1_windows_386.zip",
|
|
"hash": "f350839123f496efd4bac084f9de0b903de0652c8b7e1803364e8a7452c697d3"
|
|
},
|
|
"64bit": {
|
|
"url": "https://github.com/ipinfo/cli/releases/download/ipinfo-3.1.1/ipinfo_3.1.1_windows_amd64.zip",
|
|
"hash": "71436cb2386add83c28927bd948a51c344079d457e66cebf1e512db763a4d7c3"
|
|
},
|
|
"arm64": {
|
|
"url": "https://github.com/ipinfo/cli/releases/download/ipinfo-3.1.1/ipinfo_3.1.1_windows_arm.zip",
|
|
"hash": "6a74de4b11aaf20d35e2ed3772f33c1840288a90accd419758b03971cc66e6a1"
|
|
}
|
|
},
|
|
"pre_install": [
|
|
"$exe_path = (Get-ChildItem -Path \"$original_dir\\*\" -Include \"*.exe\" -File)[0].FullName",
|
|
"Rename-Item -Path \"${exe_path}\" -NewName \"ipinfo.exe\" -Force"
|
|
],
|
|
"bin": "ipinfo.exe",
|
|
"checkver": {
|
|
"url": "https://api.github.com/repos/ipinfo/cli/releases/latest",
|
|
"jsonpath": "$.name",
|
|
"regex": "ipinfo-(?<version>.*)$"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"32bit": {
|
|
"url": "https://github.com/ipinfo/cli/releases/download/ipinfo-$version/ipinfo_$version_windows_386.zip"
|
|
},
|
|
"64bit": {
|
|
"url": "https://github.com/ipinfo/cli/releases/download/ipinfo-$version/ipinfo_$version_windows_amd64.zip"
|
|
},
|
|
"arm64": {
|
|
"url": "https://github.com/ipinfo/cli/releases/download/ipinfo-$version/ipinfo_$version_windows_arm.zip"
|
|
}
|
|
}
|
|
}
|
|
}
|