{
    "version": "7.99",
    "description": "Network exploration and security auditing utility.",
    "homepage": "https://nmap.org",
    "license": {
        "identifier": "GPL-2.0-only",
        "url": "https://github.com/nmap/nmap/blob/master/COPYING"
    },
    "notes": [
        "Please install 'Npcap' by manually running '$dir\\npcap.exe', otherwise Nmap will not function completely!",
        "This however requires administrator rights because it will be installed in 'C:\\Program Files',",
        "(which can be removed through Control Panel) - see https://github.com/ScoopInstaller/Main/pull/466.",
        "Please import the network performance improvements by running 'regedt32 \"$dir\\nmap_performance.reg\"'",
        "See: https://nmap.org/book/inst-windows.html"
    ],
    "suggest": {
        "vcredist": "extras/vcredist2008"
    },
    "url": "https://nmap.org/dist/nmap-7.99-setup.exe#/dl.7z",
    "hash": "fda839f35d9f8f18a11670e17d0332ce9d05a3556c5a20e91b0b56c57774f611",
    "pre_install": [
        "Get-ChildItem \"$dir\\`$PLUGINSDIR\\npcap-*.exe\" | Select-Object -First 1 | Rename-Item -NewName 'npcap.exe'",
        "Move-Item \"$dir\\`$PLUGINSDIR\\npcap.exe\" \"$dir\"",
        "Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\Uninstall.exe\" -Recurse"
    ],
    "bin": [
        "nmap.exe",
        "ncat.exe",
        "ndiff.bat",
        "nping.exe"
    ],
    "shortcuts": [
        [
            "zenmap/bin/pythonw.exe",
            "Zenmap - Nmap GUI",
            "-c \"from zenmapGUI.App import run;run()\"",
            "nmap.exe"
        ]
    ],
    "checkver": {
        "url": "https://nmap.org/download.html",
        "regex": "nmap-([\\d.]+)-setup\\.exe"
    },
    "autoupdate": {
        "url": "https://nmap.org/dist/nmap-$version-setup.exe#/dl.7z"
    }
}
