forked from jcwillox/scoop-bucket
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gns3.json
51 lines (51 loc) · 1.98 KB
/
gns3.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"version": "2.2.39",
"description": "An advanced network simulator to design and configure virtual networks",
"homepage": "https://gns3.com",
"license": "GPL-3.0-only",
"notes": [
"Npcap needs to be installed separately and possibly vc_redist.x64",
"Run 'scoop install nmap' (from a elevated shell) to install 'Npcap' automatically,",
"bundled version is available at $dir\\npcap-*.exe,",
"latest version can be downloaded from https://nmap.org/npcap"
],
"suggest": {
"Nmap (includes Npcap)": "nmap"
},
"url": "https://github.com/GNS3/gns3-gui/releases/download/v2.2.39/GNS3-2.2.39-all-in-one.exe#/dl.7z",
"hash": "3f20ff9efa5222bff51197b5d66eee4098f2325c7ae412c6f6cc276491d29e8c",
"pre_install": [
"Move-Item \"$dir\\`$TEMP\\*\" \"$dir\"",
"Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\`$TEMP\" -Recurse",
"foreach ($binary in @(\"gns3\", \"gns3server\", \"gns3vmnet\")) {",
" Set-Content -Path \"$dir\\${binary}.ps1\" -Value @\"",
"if (!(Test-Path Variable:PSScriptRoot)) { `$PSScriptRoot = Split-Path `$MyInvocation.MyCommand.Path -Parent }",
"try {",
" Push-Location `\"`$PSScriptRoot`\"",
" if(`$MyInvocation.ExpectingInput) { `$input | & `\".\\${binary}.exe`\" @args } else { & `\".\\${binary}.exe`\" @args }",
"} finally { Pop-Location }",
"exit `$LASTEXITCODE",
"\"@",
"}"
],
"bin": [
"gns3.ps1",
"gns3server.ps1",
"gns3vmnet.ps1"
],
"shortcuts": [
[
"gns3.exe",
"GNS3"
]
],
"checkver": {
"github": "https://github.com/GNS3/gns3-gui"
},
"autoupdate": {
"url": "https://github.com/GNS3/gns3-gui/releases/download/v$version/GNS3-$version-all-in-one.exe#/dl.7z",
"hash": {
"url": "https://github.com/GNS3/gns3-gui/releases/download/v$version/GNS3-$version-all-in-one.exe.sha256"
}
}
}