Skip to content

Commit

Permalink
Updates for BeyondCompare v5
Browse files Browse the repository at this point in the history
  • Loading branch information
flcdrg committed Jul 9, 2024
1 parent f37b270 commit ecc10c9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
16 changes: 11 additions & 5 deletions beyondcompare/beyondcompare.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
<version>5.0.0.29773</version>
<title>Beyond Compare</title>
<authors>Scooter Software</authors>
<owners>Miguel Madero, Brendan Forster, David Gardiner</owners>
<owners>flcdrg</owners>
<projectUrl>http://scootersoftware.com/download</projectUrl>
<iconUrl>https://raw.githubusercontent.com/flcdrg/au-packages/master/beyondcompare/icons/beyondcompare.png</iconUrl>
<licenseUrl>https://www.scootersoftware.com/kb/licensev4</licenseUrl>
<docsUrl>https://www.scootersoftware.com/v4help/</docsUrl>
<licenseUrl>https://www.scootersoftware.com/kb/licensev5</licenseUrl>
<docsUrl>https://www.scootersoftware.com/v5help/</docsUrl>
<mailingListUrl>https://forum.scootersoftware.com/</mailingListUrl>
<packageSourceUrl>https://github.com/flcdrg/au-packages/tree/master/beyondcompare</packageSourceUrl>
<copyright>© 1996-2023 Scooter Software Inc</copyright>
<copyright>© 1996-2024 Scooter Software Inc</copyright>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<summary>File comparison tool</summary>
<description>Compare files and folders using simple, powerful commands that focus on the differences you're interested in and ignore those you're not. Merge changes, synchronize files, and generate reports.
Expand All @@ -21,21 +21,27 @@ Directly access FTP sites, media devices, WebDAV resources, svn repositories and

Beyond Compare includes built-in comparison viewers for a variety of data types. In addition to text, compare tables, images, binary files, registry hives, and much more.

### Major version upgrades

Each major version of Beyond Compare for Windows will install separately on your computer. This means that if you have version 4 installed, and you install version 5, the new installation will not overwrite any of your version 4 files or settings.

### Package Specific

The install script by default will detect which localized version of Beyond Compare to install. Use the package parameters to alter this behavior.

#### Package Parameters

The following package parameter can be set:

* `/LCID:nnn` - Use this specific LCID (instead of trying to automatically detect it). Check `chocolateyInstall.ps1` for valid LCID values.
* `/CurrentUser` - Install for the current user only (default is for all users).

To pass parameters, use `--params "''"` (e.g. `choco install packageID [other options] --params="'/ITEM:value /ITEM2:value2 /FLAG_BOOLEAN'"`).
To have choco remember parameters on upgrade, be sure to set `choco feature enable -n=useRememberedArgumentsForUpgrades`.

</description>
<tags>compare beyondcompare beyond file diff difference trial admin</tags>
<releaseNotes>https://www.scootersoftware.com/download/v4changelog</releaseNotes>
<releaseNotes>https://www.scootersoftware.com/download/v5changelog</releaseNotes>
</metadata>
<files>
<file src="tools\**" target="tools" />
Expand Down
14 changes: 10 additions & 4 deletions beyondcompare/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,19 @@ $japanese = @(17, 1041)
$chinese = @(2052)
$version = '5.0.0.29773'

# Install for all users by default
if ($pp["CurrentUser"]) {
$installMode = "/CURRENTUSER"
} else {
$installMode = "/ALLUSERS"
}

$packageArgs = @{
packageName = 'beyondcompare'
fileType = 'exe'
url = $url
silentArgs = '/SP- /VERYSILENT /NORESTART'

checksum = ''
url = '' # this gets set below
silentArgs = "/SP- /VERYSILENT /NORESTART $InstallMode"
checksum = '' # this gets set below
checksumType = 'sha256'
}

Expand Down

0 comments on commit ecc10c9

Please sign in to comment.