Skip to content

Commit

Permalink
AU: 2 updated - exiftool opera-developer
Browse files Browse the repository at this point in the history
  • Loading branch information
mkevenaar committed Jun 13, 2024
1 parent e9718d9 commit 894a4b5
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion automatic/exiftool/exiftool.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Refe
<!-- version should MATCH as closely as possible with the underlying software -->
<!-- Is the version a prerelease of a version? https://docs.nuget.org/create/versioning#creating-prerelease-packages -->
<!-- Note that unstable versions like 0.0.1 can be considered a released version, but it's possible that one can release a 0.0.1-beta before you release a 0.0.1 version. If the version number is final, that is considered a released version and not a prerelease. -->
<version>12.86</version>
<version>12.87</version>
<!-- owners is a poor name for maintainers of the package. It sticks around by this name for compatibility reasons. It basically means you. -->
<owners>Maurice Kevenaar</owners>
<!-- ============================== -->
Expand Down
4 changes: 2 additions & 2 deletions automatic/exiftool/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ The installer have been downloaded from their official download link listed on <
and can be verified like this:

1. Download the following installers:
32-Bit: <https://exiftool.org/exiftool-12.86.zip>
32-Bit: <https://exiftool.org/exiftool-12.87.zip>
2. You can use one of the following methods to obtain the checksum
- Use powershell function 'Get-Filehash'
- Use chocolatey utility 'checksum.exe'

checksum type: sha256
checksum32: 213BACADD57AC29A35B6E98B4D04AB706B1876C2873CED75F8E849828F4A24BB
checksum32: F1107B34EA5A3D166CF482EC62AF3132EDFAE05B6CFD6800BF96903CEC8835F5

File 'LICENSE.txt' is obtained from <https://exiftool.org/#license>
4 changes: 2 additions & 2 deletions automatic/opera-developer/opera-developer.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Refe
<!-- version should MATCH as closely as possible with the underlying software -->
<!-- Is the version a prerelease of a version? https://docs.nuget.org/create/versioning#creating-prerelease-packages -->
<!-- Note that unstable versions like 0.0.1 can be considered a released version, but it's possible that one can release a 0.0.1-beta before you release a 0.0.1 version. If the version number is final, that is considered a released version and not a prerelease. -->
<version>112.0.5193.0</version>
<version>112.0.5196.0</version>
<!-- owners is a poor name for maintainers of the package. It sticks around by this name for compatibility reasons. It basically means you. -->
<owners>Maurice Kevenaar</owners>
<!-- ============================== -->
Expand All @@ -41,7 +41,7 @@ This is a nuspec. It mostly adheres to https://docs.nuget.org/create/Nuspec-Refe
<!-- copyright is usually years and software vendor, but not required for internal feeds -->
<copyright>Opera Software</copyright>
<tags>browser opera developer cross-platform internet admin</tags>
<releaseNotes>https://blogs.opera.com/desktop/changelog-for-112/#b5193.0</releaseNotes>
<releaseNotes>https://blogs.opera.com/desktop/changelog-for-112/#b5196.0</releaseNotes>
<licenseUrl>http://www.operasoftware.com/eula/browser</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<packageSourceUrl>https://github.com/mkevenaar/chocolatey-packages/tree/master/automatic/opera-developer</packageSourceUrl>
Expand Down
10 changes: 5 additions & 5 deletions automatic/opera-developer/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@ $parameters += if ($pp.NoTaskbarShortcut) { " /pintotaskbar 0"; Write-Host "
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'exe'
url = 'https://get.geo.opera.com/pub/opera-developer/112.0.5193.0/win/Opera_Developer_112.0.5193.0_Setup.exe'
url64 = 'https://get.geo.opera.com/pub/opera-developer/112.0.5193.0/win/Opera_Developer_112.0.5193.0_Setup_x64.exe'
checksum = '251e7ca849119170f40dde631c12fed7ec0040c71ee9e0260e10c499e1557862'
checksum64 = 'b9cb605e53a56fede3ad18d0cc540104d486160e605fca36a68d435f4d854cb5'
url = 'https://get.geo.opera.com/pub/opera-developer/112.0.5196.0/win/Opera_Developer_112.0.5196.0_Setup.exe'
url64 = 'https://get.geo.opera.com/pub/opera-developer/112.0.5196.0/win/Opera_Developer_112.0.5196.0_Setup_x64.exe'
checksum = '4b4bd876d1a35811b4b76a7c50fab8757d6b9890d53b22f246b9d590396b62e3'
checksum64 = '7076a98ca2b20c2e6c4e3d6bef87ea05d33e12edb275a885ef030df42773936e'
checksumType = 'sha256'
checksumType64 = 'sha256'
silentArgs = '/install /silent /launchopera 0 /setdefaultbrowser 0' + $parameters
validExitCodes = @(0)
}

$version = '112.0.5193.0'
$version = '112.0.5196.0'
if (!$Env:ChocolateyForce -and (IsVersionAlreadyInstalled $version)) {
Write-Output "Opera $version is already installed. Skipping download and installation."
} else {
Expand Down
4 changes: 2 additions & 2 deletions automatic/opera-developer/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Import-Module Chocolatey-AU
Import-Module Chocolatey-AU

$releases = 'https://get.geo.opera.com/pub/opera-developer/'

Expand Down Expand Up @@ -26,7 +26,7 @@ function global:au_GetLatest {
$download_page = Invoke-WebRequest -Uri $releases -UseBasicParsing

$versionSort = { [version]$_.href.TrimEnd('/') }
$versionLink = $download_page.links | Where-Object href -match '^[\d]+[\d\.]+\/$' | sort $versionSort | Select-Object -Last 1
$versionLink = $download_page.links | Where-Object href -match '^[\d]+[\d\.]+\/$' | Sort-Object $versionSort | Select-Object -Last 1

[version] $version = $versionLink.href -replace '/', ''

Expand Down

0 comments on commit 894a4b5

Please sign in to comment.