mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-12-06 15:31:19 +00:00
44 lines
1.8 KiB
JSON
44 lines
1.8 KiB
JSON
{
|
|
"version": "3.1.0",
|
|
"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.0/ipinfo_3.1.0_windows_386.zip",
|
|
"hash": "696521c03f66981643158e2991b9a06f94161ffdf1eaefa57cda07e04e6be00b"
|
|
},
|
|
"64bit": {
|
|
"url": "https://github.com/ipinfo/cli/releases/download/ipinfo-3.1.0/ipinfo_3.1.0_windows_amd64.zip",
|
|
"hash": "c09a6b172dd6c710ab2c5998c3b6d71dcb0cd35644c80e25af3de6349838d63a"
|
|
},
|
|
"arm64": {
|
|
"url": "https://github.com/ipinfo/cli/releases/download/ipinfo-3.1.0/ipinfo_3.1.0_windows_arm.zip",
|
|
"hash": "3f9aa7dc5d7448b18ec21325f2424ecb042b431efaf6fa80138541c9a33c9562"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|