mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-03 15:21:18 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			54 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "0.9.50",
 | 
						|
    "description": "An anonymizing network.",
 | 
						|
    "homepage": "https://geti2p.net",
 | 
						|
    "license": {
 | 
						|
        "identifier": "Public Domain,...",
 | 
						|
        "url": "https://github.com/i2p/i2p.i2p/blob/master/LICENSE.txt"
 | 
						|
    },
 | 
						|
    "suggest": {
 | 
						|
        "JDK": "java/openjdk"
 | 
						|
    },
 | 
						|
    "url": "https://launchpad.net/i2p/trunk/0.9.50/%2Bdownload/i2pinstall_0.9.50_windows.exe#/dl.7z",
 | 
						|
    "hash": "92e38abf0650671e08460dd25711afa67f7933a0b6fa655cbd2746662f06fb30",
 | 
						|
    "bin": [
 | 
						|
        "I2P.exe",
 | 
						|
        "I2Psvc.exe"
 | 
						|
    ],
 | 
						|
    "shortcuts": [
 | 
						|
        [
 | 
						|
            "I2P.exe",
 | 
						|
            "I2P\\Start I2P (no window)",
 | 
						|
            "",
 | 
						|
            "docs\\start.ico"
 | 
						|
        ],
 | 
						|
        [
 | 
						|
            "I2Psvc.exe",
 | 
						|
            "I2P\\Start I2P (restartable)",
 | 
						|
            "-c \"$dir\\wrapper.config\"",
 | 
						|
            "docs\\start.ico"
 | 
						|
        ]
 | 
						|
    ],
 | 
						|
    "installer": {
 | 
						|
        "script": [
 | 
						|
            "$temp = \"$env:TEMP\\I2P\"",
 | 
						|
            "New-Item $temp -ItemType 'Directory' -Force | Out-Null",
 | 
						|
            "Move-Item \"$dir\\install.jar\" \"$temp\\install.jar\" -Force",
 | 
						|
            "New-Item -Path $temp -Name 'install.defaults' -Value \"INSTALL_PATH=$($dir.toString().Replace('\\', '/'))\" -Force | Out-Null",
 | 
						|
            "& (scoop which java) -jar \"$temp\\install.jar\" -auto | Out-Null",
 | 
						|
            "Remove-Item $temp -Force -Recurse"
 | 
						|
        ]
 | 
						|
    },
 | 
						|
    "checkver": {
 | 
						|
        "url": "https://launchpad.net/i2p/trunk",
 | 
						|
        "regex": "Latest version is ([\\d.]+)"
 | 
						|
    },
 | 
						|
    "autoupdate": {
 | 
						|
        "url": "https://launchpad.net/i2p/trunk/$version/%2Bdownload/i2pinstall_$version_windows.exe#/dl.7z",
 | 
						|
        "hash": {
 | 
						|
            "url": "https://geti2p.net/download",
 | 
						|
            "regex": "(?sm)$basename.*?$sha256"
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |