Skip to content

Commit

Permalink
AU: 1 updated - filezilla
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey Community committed Jul 10, 2023
1 parent 25260c5 commit 5fded57
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion automatic/filezilla/filezilla.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>filezilla</id>
<title>FileZilla</title>
<version>3.64.0</version>
<version>3.65.0</version>
<authors>Tim Kosse, other FileZilla committers</authors>
<owners>chocolatey-community, Rob Reynolds</owners>
<summary>FileZilla – The free FTP solution</summary>
Expand Down
8 changes: 4 additions & 4 deletions automatic/filezilla/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ Package can be verified like this:

1. Go to

x32: https://dl4.cdn.filezilla-project.org/client/FileZilla_3.64.0_win32-setup.exe?h=nCyFCsxWTMU4IojlaupBqg&x=1682514578
x64: https://dl4.cdn.filezilla-project.org/client/FileZilla_3.64.0_win64-setup.exe?h=H4a12chKrUk6ee-2ZqTHJA&x=1682514578
x32: https://dl4.cdn.filezilla-project.org/client/FileZilla_3.65.0_win32-setup.exe?h=ulz0DPWTZAzT5F87K3CLSA&x=1689016161
x64: https://dl4.cdn.filezilla-project.org/client/FileZilla_3.65.0_win64-setup.exe?h=mCZm5rnAQoJhIL5AkejPbg&x=1689016161

to download the installer.

2. You can use one of the following methods to obtain the SHA256 checksum:
- Use powershell function 'Get-FileHash'
- Use Chocolatey utility 'checksum.exe'

checksum32: B3243DE0245073B2FED55A1613C7E76104C400CA376EB176797D5538EAF8F939
checksum64: 0D8F5DBE4A1F05DDACDA6493733BED57FC54310C90BC6FDC764FB95A92441B40
checksum32: CEC026896304E35C3F25F34291BFCD30956715FA762810632BA9EE78408115E2
checksum64: 7B2B36182F86944D7E0FDF20662ECA8B94D03DFEB69567EF9018B7FF539B6DFB

Using AU:

Expand Down
8 changes: 4 additions & 4 deletions automatic/filezilla/update.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import-module au
import-module au

$releases = 'https://filezilla-project.org/download.php?show_all=1'

Expand All @@ -21,9 +21,9 @@ function global:au_BeforeUpdate { Get-RemoteFiles -Purge -FileNameBase "FileZill

function global:au_GetLatest {
$download_page = Invoke-WebRequest -Uri $releases -UseBasicParsing -UserAgent "Chocolatey"
$url32 = $download_page.Links | ? href -match "win32\-setup\.exe" | select -first 1 -expand href
$url64 = $download_page.Links | ? href -match "win64\-setup\.exe" | select -first 1 -expand href
$version = $url32 -split '_' | ? { $_ -match '^\d+\.[\d\.]+$' } | select -first 1
$url32 = $download_page.Links | Where-Object href -match "win32\-setup\.exe" | Select-Object -first 1 -expand href
$url64 = $download_page.Links | Where-Object href -match "win64\-setup\.exe" | Select-Object -first 1 -expand href
$version = $url32 -split '_' | Where-Object { $_ -match '^\d+\.[\d\.]+$' } | Select-Object -first 1

@{
Version = $version
Expand Down

0 comments on commit 5fded57

Please sign in to comment.