/
npcap-np.json
33 lines (33 loc) · 1.33 KB
/
npcap-np.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
"version": "1.79",
"homepage": "https://npcap.com/",
"description": "A packet capture (and sending) library for Microsoft Windows.",
"license": {
"identifier": "Freeware",
"url": "https://github.com/nmap/npcap/blob/master/LICENSE"
},
"architecture": {
"64bit": {
"url": "https://npcap.com/dist/npcap-1.79.exe#/npcap_setup.exe",
"hash": "a95577ebbc67fc45b319e2ef3a55f4e9b211fe82ed4cb9d8be6b1a9e2425ce53"
}
},
"pre_install": [
"if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }",
"Write-Host 'THIS APPLICATION INSTALLER HAS NO SILENT INSTALLATION SWITCH, A INSTALLATION PROMPT WILL APPEAR IN A FEW MOMENTS.'",
"Start-Process \"$dir\\npcap_setup.exe\" -Wait -Verb 'RunAs'; Remove-Item \"$dir\\npcap_setup.exe\""
],
"pre_uninstall": [
"if (!(is_admin)) { error \"$app requires admin rights to $cmd\"; break }",
"Start-Process \"$env:ProgramFiles\\Npcap\\uninstall.exe\" -Wait -Verb 'RunAs' -Args '/S'",
"Remove-Item \"$env:ProgramFiles\\Npcap\" -Recurse -Force"
],
"checkver": "Npcap\\s([\\d.]+)\\s",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://npcap.com/dist/npcap-$version.exe#/npcap_setup.exe"
}
}
}
}