Skip to content

Commit

Permalink
(filezilla) Update++
Browse files Browse the repository at this point in the history
  • Loading branch information
AdmiringWorm committed Oct 16, 2018
1 parent cdf5560 commit 5969f2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion automatic/filezilla/update.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function global:au_GetLatest {
$download_page = Invoke-WebRequest -Uri $releases -UseBasicParsing
$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 '_' | select -last 1 -skip 1
$version = $url32 -split '_' | ? { $_ -match '^\d+\.[\d\.]+$' } | select -first 1

@{
Version = $version
Expand Down

0 comments on commit 5969f2f

Please sign in to comment.