mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-03 23:31:20 +00:00 
			
		
		
		
	* Create ipinfo-cli.json * Update ipinfo-cli.json * Update ipinfo-cli.json --------- Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com>
		
			
				
	
	
		
			44 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "2.10.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-2.10.1/ipinfo_2.10.1_windows_386.zip",
 | 
						|
            "hash": "04996a279baa1fe3dd6b4f9dfbefba84e5b1782569c05695ccde2f5c67d415c0"
 | 
						|
        },
 | 
						|
        "64bit": {
 | 
						|
            "url": "https://github.com/ipinfo/cli/releases/download/ipinfo-2.10.1/ipinfo_2.10.1_windows_amd64.zip",
 | 
						|
            "hash": "31502fb04f935ae941d1c8c9cecda154c6ba03a60e8afb279a1b41e3ee52bb1e"
 | 
						|
        },
 | 
						|
        "arm64": {
 | 
						|
            "url": "https://github.com/ipinfo/cli/releases/download/ipinfo-2.10.1/ipinfo_2.10.1_windows_arm.zip",
 | 
						|
            "hash": "a5db375c12965a43a41d49b0c147014ffe8b080c32a78f08c6c146fb9de5be92"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "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"
 | 
						|
            }
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |