Skip to content

Commit

Permalink
Update beyondcompare package
Browse files Browse the repository at this point in the history
- Download links have changed

Fixes #173
  • Loading branch information
flcdrg committed Mar 1, 2024
1 parent e2e0d56 commit a0fdedc
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 21 deletions.
17 changes: 7 additions & 10 deletions beyondcompare/beyondcompare.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>beyondcompare</id>
<version>4.4.7.28397</version>
<version>4.4.7.20240301</version>
<title>Beyond Compare</title>
<authors>Scooter Software</authors>
<owners>Miguel Madero, Brendan Forster, David Gardiner</owners>
<projectUrl>http://scootersoftware.com/download.php</projectUrl>
<projectUrl>http://scootersoftware.com/download</projectUrl>
<iconUrl>https://raw.githubusercontent.com/flcdrg/au-packages/master/beyondcompare/icons/beyondcompare.png</iconUrl>
<licenseUrl>http://www.scootersoftware.com/index.php?zz=kb_licensev4</licenseUrl>
<docsUrl>http://www.scootersoftware.com/v4help/</docsUrl>
<mailingListUrl>http://www.scootersoftware.com/vbulletin/</mailingListUrl>
<licenseUrl>https://www.scootersoftware.com/kb/licensev4</licenseUrl>
<docsUrl>https://www.scootersoftware.com/v4help/</docsUrl>
<mailingListUrl>https://forum.scootersoftware.com/</mailingListUrl>
<packageSourceUrl>https://github.com/flcdrg/au-packages/tree/master/beyondcompare</packageSourceUrl>
<copyright>© 1996-2019 Scooter Software Inc</copyright>
<copyright>© 1996-2023 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 @@ -35,10 +35,7 @@ To have choco remember parameters on upgrade, be sure to set `choco feature enab

</description>
<tags>compare beyondcompare beyond file diff difference trial admin</tags>
<releaseNotes>https://www.scootersoftware.com/download.php?zz=v4changelog</releaseNotes>
<dependencies>
<dependency id="chocolatey-core.extension" version="1.3.0" />
</dependencies>
<releaseNotes>https://www.scootersoftware.com/download/v4changelog</releaseNotes>
</metadata>
<files>
<file src="tools\**" target="tools" />
Expand Down
2 changes: 1 addition & 1 deletion beyondcompare/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$ErrorActionPreference = 'Stop'

$urlBase = "https://www.scootersoftware.com"
$urlBase = "https://www.scootersoftware.com/files"

$pp = Get-PackageParameters

Expand Down
20 changes: 10 additions & 10 deletions beyondcompare/update.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import-module au

$releases = 'https://www.scootersoftware.com/download.php'
$releases = 'https://www.scootersoftware.com/download'

function global:au_SearchReplace {
@{
Expand All @@ -19,24 +19,24 @@ function global:au_GetLatest {
# 32bit
$download_page = Invoke-WebRequest -Uri $releases

#https://www.scootersoftware.com/BCompare-4.2.1.22354.exe
#https://www.scootersoftware.com/files/BCompare-4.2.1.22354.exe

$content = $download_page.Content.Trim()

$content -match "BCompare-(?<version>\d+\.\d+\.\d+\.\d+)\.exe"

$version = $Matches.version

$url_en = "https://www.scootersoftware.com/BCompare-$($version).exe"
$url_en = "https://www.scootersoftware.com/files/BCompare-$($version).exe"

# https://www.scootersoftware.com/BCompare-de-4.2.1.22354.exe
# https://www.scootersoftware.com/BCompare-fr-4.2.1.22354.exe
# https://www.scootersoftware.com/BCompare-jp-4.2.1.22354.exe
# https://www.scootersoftware.com/files/BCompare-de-4.2.1.22354.exe
# https://www.scootersoftware.com/files/BCompare-fr-4.2.1.22354.exe
# https://www.scootersoftware.com/files/BCompare-jp-4.2.1.22354.exe

$url_de = "https://www.scootersoftware.com/BCompare-de-$($version).exe"
$url_fr = "https://www.scootersoftware.com/BCompare-fr-$($version).exe"
$url_jp = "https://www.scootersoftware.com/BCompare-jp-$($version).exe"
$url_zh = "https://www.scootersoftware.com/BCompare-zh-$($version).exe"
$url_de = "https://www.scootersoftware.com/files/BCompare-de-$($version).exe"
$url_fr = "https://www.scootersoftware.com/files/BCompare-fr-$($version).exe"
$url_jp = "https://www.scootersoftware.com/files/BCompare-jp-$($version).exe"
$url_zh = "https://www.scootersoftware.com/files/BCompare-zh-$($version).exe"
$Latest = @{
URL_EN = $url_en
URL_DE = $url_de
Expand Down

0 comments on commit a0fdedc

Please sign in to comment.