Skip to content

Commit

Permalink
AU: 3 updated - chromium peazip peazip.install
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey Community committed Jun 25, 2023
1 parent 70209ed commit a7b9b5c
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion automatic/chromium/chromium.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"snapshots": "117.0.5852.0-snapshots",
"snapshots": "117.0.5853.0-snapshots",
"stable": "114.0.5735.134"
}
2 changes: 1 addition & 1 deletion automatic/chromium/chromium.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>chromium</id>
<version>117.0.5852.0-snapshots</version>
<version>117.0.5853.0-snapshots</version>
<title>Chromium Snapshots</title>
<owners>chocolatey-community</owners>
<authors>The Chromium Authors</authors>
Expand Down
8 changes: 4 additions & 4 deletions automatic/chromium/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ location on <https://github.com/henrypp/chromium/releases/> (the listed mirrors
and can be verified by doing the following:

1. Download the following:
32-Bit software: <https://storage.googleapis.com/chromium-browser-snapshots/Win/1162122/mini_installer.exe>
64-Bit software: <https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/1162125/mini_installer.exe>
32-Bit software: <https://storage.googleapis.com/chromium-browser-snapshots/Win/1162159/mini_installer.exe>
64-Bit software: <https://storage.googleapis.com/chromium-browser-snapshots/Win_x64/1162160/mini_installer.exe>
2. Get the checksum using one of the following methods:
- Using powershell function 'Get-FileHash'
- Use chocolatey utility 'checksum.exe'
3. The checksums should match the following:

checksum type: sha256
checksum32: 8586E534A23D5E353BE720FF52C1F587F23A7D5DCD44F5FE605AC7F96E4754C9
checksum64: CA13D8554CA75B921670AFD37B1A5CC4EAD540B5A3C2E22EEDEC8523ACB5C06D
checksum32: E5F6518CD4772F1E0F85AD2613D877A6132897794D27A718AD96C71A3CD69A56
checksum64: 754C1AAC4EEB2756A09A01AB5961D286AFBBD3BD87EC7C93479A93AAC4D20469

The file 'LICENSE.txt' has been obtained from <https://chromium.googlesource.com/chromium/src.git/+/master/LICENSE>
2 changes: 1 addition & 1 deletion automatic/chromium/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
$scriptDir=$toolsDir = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
. (Join-Path $scriptDir 'helper.ps1')

$version = "117.0.5852.0-snapshots"
$version = "117.0.5853.0-snapshots"
$hive = "hkcu"
$chromium_string = "\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Chromium"
$Chromium = $hive + ":" + $chromium_string
Expand Down
8 changes: 4 additions & 4 deletions automatic/peazip.install/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ The installer has been downloaded from the alternative GitHub mirror listed on <
and can be verified like this:

1. Download the following installers:
32-Bit: <https://github.com/peazip/PeaZip/releases/download/9.2.0/peazip-9.2.0.WINDOWS.exe>
64-Bit: <https://github.com/peazip/PeaZip/releases/download/9.2.0/peazip-9.2.0.WIN64.exe>
32-Bit: <https://github.com/peazip/PeaZip/releases/download/9.3.0/peazip-9.3.0.WINDOWS.exe>
64-Bit: <https://github.com/peazip/PeaZip/releases/download/9.3.0/peazip-9.3.0.WIN64.exe>
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: 67229CED7DE6D27871B823CE7F61F69C7C61FD85EA13D844A7B085CE97ADFD9B
checksum64: CC8E0967C2017AC8F7EF281C87E93A31BDAD87C8ADA1339423600B7D6FFA3997
checksum32: 63A2BA1ED38D972B6F8211F6E125193270B7EBCE6217BC219087C9A5604DDC7A
checksum64: B45DEFB5B4CD0BE89BCCD046CE5EBFC8305E0C178160133B28215554204CCE4C

The included 'LICENSE.txt' file have been obtained from <https://www.gnu.org/licenses/lgpl-3.0.txt>
and should be the correct license as mentioned on their project page <http://peazip.org/peazip-tos-privacy.html>.
2 changes: 1 addition & 1 deletion automatic/peazip.install/peazip.install.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>peazip.install</id>
<title>PeaZip (Install)</title>
<version>9.2.0</version>
<version>9.3.0</version>
<authors>Giorgio Tani</authors>
<owners>chocolatey-community,dtgm</owners>
<summary>PeaZip is a free cross-platform file archiver.</summary>
Expand Down
4 changes: 2 additions & 2 deletions automatic/peazip.install/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
file = "$toolsDir\peazip-9.2.0.WINDOWS.exe"
file64 = "$toolsDir\peazip-9.2.0.WIN64.exe"
file = "$toolsDir\peazip-9.3.0.WINDOWS.exe"
file64 = "$toolsDir\peazip-9.3.0.WIN64.exe"
fileType = 'exe'
packageName = 'peazip.install'
softwareName = 'PeaZip'
Expand Down
10 changes: 5 additions & 5 deletions automatic/peazip.install/update.ps1
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import-module au
import-module au

$releases = 'https://github.com/giorgiotani/PeaZip/releases'

function global:au_BeforeUpdate { Get-RemoteFiles -Purge -NoSuffix }

function global:au_GetLatest {
$download_page = Invoke-WebRequest -Uri $releases -UseBasicParsing
$url32 = $download_page.links | ? href -match 'WINDOWS.exe$' | select -First 1 -expand href
$url64 = $download_page.links | ? href -match 'WIN64.exe$' | select -First 1 -expand href
$version = $url32 -split '-|.WINDOWS.exe' | select -Last 1 -Skip 1
$version64 = $url64 -split '-|.WIN64.exe' | select -Last 1 -Skip 1
$url32 = $download_page.links | Where-Object href -match 'WINDOWS.exe$' | Select-Object -First 1 -expand href
$url64 = $download_page.links | Where-Object href -match 'WIN64.exe$' | Select-Object -First 1 -expand href
$version = $url32 -split '-|.WINDOWS.exe' | Select-Object -Last 1 -Skip 1
$version64 = $url64 -split '-|.WIN64.exe' | Select-Object -Last 1 -Skip 1

if ($version -ne $version64) {
throw "32-bit and 64-bit version do not match. Please investigate."
Expand Down
4 changes: 2 additions & 2 deletions automatic/peazip/peazip.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>peazip</id>
<title>PeaZip</title>
<version>9.2.0</version>
<version>9.3.0</version>
<authors>Giorgio Tani</authors>
<owners>chocolatey-community,dtgm</owners>
<summary>PeaZip is a free cross-platform file archiver.</summary>
Expand Down Expand Up @@ -31,7 +31,7 @@ Features of PeaZip includes extract, create and convert multiple archives at onc
<iconUrl>https://cdn.jsdelivr.net/gh/chocolatey-community/chocolatey-packages@a09d7c32df1ac4b8028df11d2b2b5196b8de2435/icons/peazip.svg</iconUrl>
<releaseNotes>[PeaZip changelog](https://peazip.github.io/changelog.html)</releaseNotes>
<dependencies>
<dependency id="peazip.install" version="[9.2.0]" />
<dependency id="peazip.install" version="[9.3.0]" />
</dependencies>
</metadata>
</package>
10 changes: 5 additions & 5 deletions automatic/peazip/update.ps1
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import-module au
import-module au

$releases = 'https://github.com/giorgiotani/PeaZip/releases'

function global:au_GetLatest {
$download_page = Invoke-WebRequest -Uri $releases -UseBasicParsing
$url32 = $download_page.links | ? href -match 'WINDOWS.exe$' | select -First 1 -expand href
$url64 = $download_page.links | ? href -match 'WIN64.exe$' | select -First 1 -expand href
$version = $url32 -split '-|.WINDOWS.exe' | select -Last 1 -Skip 1
$version64 = $url64 -split '-|.WIN64.exe' | select -Last 1 -Skip 1
$url32 = $download_page.links | Where-Object href -match 'WINDOWS.exe$' | Select-Object -First 1 -expand href
$url64 = $download_page.links | Where-Object href -match 'WIN64.exe$' | Select-Object -First 1 -expand href
$version = $url32 -split '-|.WINDOWS.exe' | Select-Object -Last 1 -Skip 1
$version64 = $url64 -split '-|.WIN64.exe' | Select-Object -Last 1 -Skip 1

if ($version -ne $version64) {
throw "32-bit and 64-bit version do not match. Please investigate."
Expand Down

0 comments on commit a7b9b5c

Please sign in to comment.