mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-11-04 07:41:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			76 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			76 lines
		
	
	
		
			2.3 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "version": "1.24.0",
 | 
						|
    "description": "A validating, recursive, caching DNS resolver",
 | 
						|
    "homepage": "https://nlnetlabs.nl/projects/unbound/about/",
 | 
						|
    "license": "BSD-3-Clause",
 | 
						|
    "suggest": {
 | 
						|
        "openssl": [
 | 
						|
            "openssl",
 | 
						|
            "openssl-light"
 | 
						|
        ],
 | 
						|
        "wget": "wget"
 | 
						|
    },
 | 
						|
    "architecture": {
 | 
						|
        "64bit": {
 | 
						|
            "url": "https://nlnetlabs.nl/downloads/unbound/unbound_setup_1.24.0.exe#/dl.7z",
 | 
						|
            "hash": "d802fa0b198053dd4f0f99acc7b3f12eee56e092399b796789f868dfe049d39c"
 | 
						|
        },
 | 
						|
        "32bit": {
 | 
						|
            "url": "https://nlnetlabs.nl/downloads/unbound/unbound_setup_1.24.0-w32.exe#/dl.7z",
 | 
						|
            "hash": "9bc90a34c9ed75f69ec8c1963d017be838e2ae81c1be53edcbc6a2f2efbc1177"
 | 
						|
        }
 | 
						|
    },
 | 
						|
    "pre_install": [
 | 
						|
        "$content = Get-Content \"$dir\\unbound-control-setup.cmd\"",
 | 
						|
        "$content = $content -replace 'C:\\\\Program Files( \\(x86\\))?', (Convert-Path \"$dir\\..\")",
 | 
						|
        "$content = $content -replace '%prefix%\\\\Unbound', '%prefix%\\current'",
 | 
						|
        "Set-Content \"$dir\\unbound-control-setup.cmd\" $content -Encoding Ascii",
 | 
						|
        "Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\uninst.exe\" -Recurse"
 | 
						|
    ],
 | 
						|
    "bin": [
 | 
						|
        [
 | 
						|
            "unbound.exe",
 | 
						|
            "unbound",
 | 
						|
            "-c \"$dir\\service.conf\""
 | 
						|
        ],
 | 
						|
        [
 | 
						|
            "unbound-anchor.exe",
 | 
						|
            "unbound-anchor",
 | 
						|
            "-a \"$dir\\root.key\""
 | 
						|
        ],
 | 
						|
        [
 | 
						|
            "unbound-checkconf.exe",
 | 
						|
            "unbound-checkconf",
 | 
						|
            "\"$dir\\service.conf\""
 | 
						|
        ],
 | 
						|
        [
 | 
						|
            "unbound-control.exe",
 | 
						|
            "unbound-control",
 | 
						|
            "-c \"$dir\\service.conf\""
 | 
						|
        ],
 | 
						|
        "unbound-control-setup.cmd",
 | 
						|
        "unbound-host.exe"
 | 
						|
    ],
 | 
						|
    "persist": [
 | 
						|
        "service.conf",
 | 
						|
        "root.key"
 | 
						|
    ],
 | 
						|
    "checkver": {
 | 
						|
        "url": "https://nlnetlabs.nl/projects/unbound/download/",
 | 
						|
        "regex": "Unbound ([\\d.]+) \\(Current version\\)"
 | 
						|
    },
 | 
						|
    "autoupdate": {
 | 
						|
        "architecture": {
 | 
						|
            "64bit": {
 | 
						|
                "url": "https://nlnetlabs.nl/downloads/unbound/unbound_setup_$version.exe#/dl.7z"
 | 
						|
            },
 | 
						|
            "32bit": {
 | 
						|
                "url": "https://nlnetlabs.nl/downloads/unbound/unbound_setup_$version-w32.exe#/dl.7z"
 | 
						|
            }
 | 
						|
        },
 | 
						|
        "hash": {
 | 
						|
            "url": "$url.sha256"
 | 
						|
        }
 | 
						|
    }
 | 
						|
}
 |