From ba3a94a1ec4cf8f6d3e334e3bc98255829fc23b6 Mon Sep 17 00:00:00 2001 From: Chocolatey Community Date: Thu, 22 Jun 2023 06:14:08 +0000 Subject: [PATCH] AU: 1 updated - gom-player [skip ci] https://gist.github.com/choco-bot/a14b1e5bfaf70839b338eb1ab7f8226f/01fa4879bf4cbda24e3044e9d9eaad3018c06fd9 --- automatic/gom-player/gom-player.nuspec | 2 +- automatic/gom-player/tools/chocolateyinstall.ps1 | 2 +- automatic/gom-player/update.ps1 | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/automatic/gom-player/gom-player.nuspec b/automatic/gom-player/gom-player.nuspec index f5a16d5ad61..c3358135a80 100644 --- a/automatic/gom-player/gom-player.nuspec +++ b/automatic/gom-player/gom-player.nuspec @@ -3,7 +3,7 @@ gom-player - 2.3.87 + 2.3.88 https://github.com/chocolatey-community/chocolatey-packages/tree/master/automatic/gom-player chocolatey-community, AdmiringWorm GOM Player (Install) diff --git a/automatic/gom-player/tools/chocolateyinstall.ps1 b/automatic/gom-player/tools/chocolateyinstall.ps1 index 7350987b360..f303663d492 100644 --- a/automatic/gom-player/tools/chocolateyinstall.ps1 +++ b/automatic/gom-player/tools/chocolateyinstall.ps1 @@ -5,7 +5,7 @@ $packageArgs = @{ fileType = 'exe' url = 'https://cdn.gomlab.com/gretech/player/GOMPLAYERGLOBALSETUP_NEW.EXE' softwareName = 'GOM Player' - checksum = '72bd06109a92b733ccccc6431d042633271d762d9efa0ee471f2eef6c601e0cf' + checksum = '7565b444fd20b3d9a634560fbaa0bf9ab66b18a73a66835b496ead9e14868ffa' checksumType = 'sha256' silentArgs = '/S' validExitCodes = @(0) diff --git a/automatic/gom-player/update.ps1 b/automatic/gom-player/update.ps1 index f030a4f5b54..879f6593b5d 100644 --- a/automatic/gom-player/update.ps1 +++ b/automatic/gom-player/update.ps1 @@ -25,7 +25,7 @@ function global:au_GetLatest { $download_page = Invoke-WebRequest -Uri $releases -UseBasicParsing $re = '\.exe$' - $url32 = $download_page.Links | ? href -match $re | select -first 1 -expand href + $url32 = $download_page.Links | Where-Object href -match $re | Select-Object -first 1 -expand href $verRe = '((?:\d+\.){2,3}\d+)' $version_page = Invoke-WebRequest -Uri $versions -UseBasicParsing