Skip to content

Commit

Permalink
beyondcompare-np:Add version 5.x.y.z
Browse files Browse the repository at this point in the history
  • Loading branch information
pohlymorph committed Jan 10, 2025
1 parent 6dfd1e8 commit 2c9adcd
Show file tree
Hide file tree
Showing 4 changed files with 186 additions and 0 deletions.
93 changes: 93 additions & 0 deletions bucket/beyondcompare-np.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"version": "5.0.4.30422",
"description": "Directory and file compare functions in one package",
"homepage": "https://www.scootersoftware.com",
"license": {
"identifier": "Shareware",
"url": "https://www.scootersoftware.com/kb/licensev5"
},
"notes": [
"The manifest is already updated to v5, if you want to stay on v4 proceed as follows:",
"",
"- Install v4 via 'scoop install versions/beyondcompare4'",
"- Consider uninstalling v5 via 'scoop uninstall nonportable/beyondcompare-np'",
"",
"Or maybe you want to upgrade license from v4 to v5: https://www.scootersoftware.com/kb/upgradepolicy"
],
"innosetup": true,
"architecture": {
"64bit": {
"url": "https://www.scootersoftware.com/files/BCompareSetup-5.0.4.30422.zip",
"hash": "2cfb571c94885fce248e6eac4da3f02c930db35176bd964f22b203a6833f5672",
"installer": {
"file": "BCompareSetup.exe",
"args": [
"/DIR=\"$dir\"",
"/VERYSILENT",
"/SUPPRESSMSGBOXES",
"/NORESTART"
]
}
},
"32bit": {
"url": "https://www.scootersoftware.com/files/BCompareSetup-5.0.4.30422.zip",
"hash": "2cfb571c94885fce248e6eac4da3f02c930db35176bd964f22b203a6833f5672",
"installer": {
"file": "BCompareSetup.exe",
"args": [
"/32",
"/DIR=\"$dir\"",
"/VERYSILENT",
"/SUPPRESSMSGBOXES",
"/NORESTART"
]
}
}
},
"bin": [
"Bcomp.exe",
"BCompare.exe",
"BCClipboard.exe"
],
"shortcuts": [
[
"BCompare.exe",
"Beyond Compare 5"
],
[
"BCClipboard.exe",
"Clipboard Compare"
]
],
"post_install": [
"$dir_escaped = \"$dir\".Replace('\\', '\\\\')",
"\"install-context-$architecture\", \"uninstall-context\" | ForEach-Object {",
" if (Test-Path \"$bucketsdir\\$bucket\\scripts\\$app\\$_.reg\") {",
" $content = Get-Content \"$bucketsdir\\$bucket\\scripts\\$app\\$_.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\"",
" }",
"}",
"",
"if ($cmd -eq 'install') {",
" Invoke-Command {reg import \"$dir\\install-context.reg\" 2>&1 | Out-Null}",
"}"
],
"pre_uninstall": [
"",
"if ($cmd -eq 'uninstall') {",
" Invoke-Command {reg import \"$dir\\uninstall-context.reg\" 2>&1 | Out-Null}",
"}"
],
"checkver": {
"url": "https://www.scootersoftware.com/kb/dl5_winalternate",
"regex": "files/BCompareSetup-([\\d.]+)\\.zip"
},
"autoupdate": {
"url": "https://www.scootersoftware.com/files/BCompareSetup-$version.zip"
}
}
31 changes: 31 additions & 0 deletions scripts/beyondcompare-np/install-context-32bit.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Windows Registry Editor Version 5.00


[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Cached]
"{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5} {000214E4-0000-0000-C000-000000000046} 0xFFFF"=hex(3):01,00,00,00,00,00,00,00,80,96,f0,89,7b,07,db,01








[HKEY_CURRENT_USER\SOFTWARE\Classes\lnkfile\shellex\ContextMenuHandlers\Beyond Compare 5]
""="{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}"

[HKEY_CURRENT_USER\SOFTWARE\Classes\Folder\shellex\ContextMenuHandlers\Beyond Compare 5]
""="{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}"

[HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shellex\ContextMenuHandlers\Beyond Compare 5]
""="{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}"

[HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}\InProcServer32]
"ThreadingModel"="Apartment"
""="$install_dir\\BCShellEx64.dll"

[HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}]
""="Beyond Compare 5"

[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\Beyond Compare 5]
""="{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}"
31 changes: 31 additions & 0 deletions scripts/beyondcompare-np/install-context-64bit.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Windows Registry Editor Version 5.00


[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Cached]
"{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5} {000214E4-0000-0000-C000-000000000046} 0xFFFF"=hex(3):01,00,00,00,00,00,00,00,80,96,f0,89,7b,07,db,01

[HKEY_CURRENT_USER\SOFTWARE\Classes\WOW6432Node\CLSID\{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}\InProcServer32]
"ThreadingModel"="Apartment"
""="$install_dir\\BCShellEx.dll"

[HKEY_CURRENT_USER\SOFTWARE\Classes\WOW6432Node\CLSID\{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}]
""="Beyond Compare 5"

[HKEY_CURRENT_USER\SOFTWARE\Classes\lnkfile\shellex\ContextMenuHandlers\Beyond Compare 5]
""="{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}"

[HKEY_CURRENT_USER\SOFTWARE\Classes\Folder\shellex\ContextMenuHandlers\Beyond Compare 5]
""="{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}"

[HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shellex\ContextMenuHandlers\Beyond Compare 5]
""="{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}"

[HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}\InProcServer32]
"ThreadingModel"="Apartment"
""="$install_dir\\BCShellEx64.dll"

[HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}]
""="Beyond Compare 5"

[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\Beyond Compare 5]
""="{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}"
31 changes: 31 additions & 0 deletions scripts/beyondcompare-np/uninstall-context.reg
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Windows Registry Editor Version 5.00


[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Cached]
"{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5} {000214E4-0000-0000-C000-000000000046} 0xFFFF"=-

[HKEY_CURRENT_USER\SOFTWARE\Classes\WOW6432Node\CLSID\{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}\InProcServer32]
"ThreadingModel"=-
""=-

[HKEY_CURRENT_USER\SOFTWARE\Classes\WOW6432Node\CLSID\{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}]
""=-

[HKEY_CURRENT_USER\SOFTWARE\Classes\lnkfile\shellex\ContextMenuHandlers\Beyond Compare 5]
""=-

[HKEY_CURRENT_USER\SOFTWARE\Classes\Folder\shellex\ContextMenuHandlers\Beyond Compare 5]
""=-

[HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shellex\ContextMenuHandlers\Beyond Compare 5]
""=-

[HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}\InProcServer32]
"ThreadingModel"=-
""=-

[HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{812BC6B5-83CF-4AD9-97C1-6C60C8D025C5}]
""=-

[HKEY_CURRENT_USER\SOFTWARE\Classes\*\shellex\ContextMenuHandlers\Beyond Compare 5]
""=-

0 comments on commit 2c9adcd

Please sign in to comment.