/
beyondcompare.json
60 lines (60 loc) · 2.22 KB
/
beyondcompare.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
52
53
54
55
56
57
58
59
60
{
"version": "4.4.7.28397",
"description": "Directory and file compare functions in one package",
"homepage": "https://www.scootersoftware.com",
"license": {
"identifier": "Shareware",
"url": "https://www.scootersoftware.com/index.php?zz=kb_licensev4"
},
"notes": "Add Beyond Compare as a context menu option by running: '$dir\\install-context.reg'",
"architecture": {
"64bit": {
"url": "https://www.scootersoftware.com/files/BCompare-4.4.7.28397_x64.msi",
"hash": "089b8acbe228e876f4847132ec71fe256b134703e2e6205619b28905cb69f881"
},
"32bit": {
"url": "https://www.scootersoftware.com/files/BCompare-4.4.7.28397_x86.msi",
"hash": "7d722749e18309212f7d483b80e992b1c0f35dc437b93be6133cfe6b03574307"
}
},
"extract_dir": "Beyond Compare 4",
"bin": "Bcomp.exe",
"shortcuts": [
[
"BCompare.exe",
"Beyond Compare 4"
],
[
"BCClipboard.exe",
"Clipboard Compare"
]
],
"post_install": [
"$dir_escaped = \"$dir\".Replace('\\', '\\\\')",
"\"install-context-$architecture\", \"uninstall-context\" | ForEach-Object {",
" if (Test-Path \"$bucketsdir\\extras\\scripts\\beyondcompare\\$_.reg\") {",
" $content = Get-Content \"$bucketsdir\\extras\\scripts\\beyondcompare\\$_.reg\"",
" $content = $content.Replace('$install_dir', $dir_escaped)",
" if ($global) {",
" $content = $content.Replace('HKEY_CURRENT_USER', 'HKEY_LOCAL_MACHINE')",
" }",
" $outfile_no_arch = $_.Replace(\"-$architecture\", \"\")",
" $content | Set-Content -Path \"$dir\\$outfile_no_arch.reg\"",
" }",
"}"
],
"checkver": {
"url": "https://www.scootersoftware.com/kb/dl4_winalternate",
"regex": "BCompare-([\\d.]+)_x64\\.msi"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://www.scootersoftware.com/files/BCompare-$version_x64.msi"
},
"32bit": {
"url": "https://www.scootersoftware.com/files/BCompare-$version_x86.msi"
}
}
}
}