diff --git a/automatic/jubler/Readme.md b/automatic/jubler/Readme.md index d000e85644a..b309684d01b 100644 --- a/automatic/jubler/Readme.md +++ b/automatic/jubler/Readme.md @@ -1,4 +1,4 @@ -# [jubler](https://chocolatey.org/packages/jubler) +# [jubler](https://chocolatey.org/packages/jubler) Jubler is a tool to edit text-based subtitles. It can be used as an authoring software for new subtitles or as a tool to convert, transform, correct and refine existing subtitles. The most popular subtitle formats can be used. Preview of the subtitles in realtime or in design time, spell checking, translation mode and styles editing are some of the main features. diff --git a/automatic/jubler/jubler.nuspec b/automatic/jubler/jubler.nuspec index 0e9550ba7b6..406a3c14ae9 100644 --- a/automatic/jubler/jubler.nuspec +++ b/automatic/jubler/jubler.nuspec @@ -3,13 +3,13 @@ jubler - 7.0.3 - https://github.com/chocolatey-community/chocolatey-coreteampackages/tree/master/automatic/jubler + 8.0.0 + https://github.com/chocolatey-community/chocolatey-packages/tree/master/automatic/jubler chocolatey-community, AdmiringWorm Jubler Subtitle Editor Panayotis Katsaloulis http://www.jubler.org/index.html - https://cdn.jsdelivr.net/gh/chocolatey-community/chocolatey-coreteampackages@a8fa14d8c3ca49fd8bd8f856d9091b1a9103ada1/icons/jubler.png + https://cdn.jsdelivr.net/gh/chocolatey-community/chocolatey-packages@a8fa14d8c3ca49fd8bd8f856d9091b1a9103ada1/icons/jubler.png (C) 2005-2018 Panayotis Katsaloulis https://github.com/teras/Jubler/blob/master/LICENCE false diff --git a/automatic/jubler/legal/VERIFICATION.txt b/automatic/jubler/legal/VERIFICATION.txt index c577b79ea5c..703575ea35f 100644 --- a/automatic/jubler/legal/VERIFICATION.txt +++ b/automatic/jubler/legal/VERIFICATION.txt @@ -8,7 +8,7 @@ and can be verified by doing the following: 1. Download the following: 32-Bit software: - 64-Bit software: + 64-Bit software: 2. Get the checksum using one of the following methods: - Using powershell function 'Get-FileHash' - Use chocolatey utility 'checksum.exe' @@ -16,6 +16,6 @@ and can be verified by doing the following: checksum type: sha256 checksum32: D87DC5CCBADAD1EF277D0069F4951C9DCC06DF1F0AB5AD496FCAFC20CF6E8613 - checksum64: 799AB85C4D8F5D68E83D42F45C5EE9A78625D09843504668E101178BCB056D0E + checksum64: B67B7EB6AD94F3367F76C05CDC8AAE08185F022C2F616B094719EC8969E75933 The file 'LICENSE.txt' has been obtained from diff --git a/automatic/jubler/tools/chocolateyinstall.ps1 b/automatic/jubler/tools/chocolateyinstall.ps1 index 0615f984c96..61950193701 100644 --- a/automatic/jubler/tools/chocolateyinstall.ps1 +++ b/automatic/jubler/tools/chocolateyinstall.ps1 @@ -6,7 +6,7 @@ $packageArgs = @{ packageName = $env:ChocolateyPackageName fileType = 'exe' file = "$toolsPath\Jubler-7.0.3.x32.exe" - file64 = "$toolsPath\Jubler-7.0.3.x64.exe" + file64 = "$toolsPath\Jubler-8.0.0.x64.exe" softwareName = 'Jubler subtitle editor' silentArgs = '/S' validExitCodes = @(0) diff --git a/automatic/jubler/update.ps1 b/automatic/jubler/update.ps1 index d09e9417e45..6cede0b010e 100644 --- a/automatic/jubler/update.ps1 +++ b/automatic/jubler/update.ps1 @@ -1,4 +1,4 @@ -import-module au +import-module au Import-Module "$PSScriptRoot\..\..\scripts\au_extensions.psm1" $releases = 'http://www.jubler.org/download.html' @@ -35,13 +35,13 @@ function global:au_GetLatest { $download_page = Invoke-WebRequest -UseBasicParsing -Uri $releases $re = 'jubler.*\.exe' - $urls = $download_page.links | ? href -match $re | select -First 2 -expand href + $urls = $download_page.links | Where-Object href -match $re | Select-Object -First 2 -expand href - $version = $urls[0] -split '\/v?' | select -Last 1 -Skip 1 + $version = $urls[0] -split '\/v?' | Select-Object -Last 1 -Skip 1 @{ - URL32 = $urls -notmatch "64\.exe" | select -first 1 - URL64 = $urls -match "64\.exe" | select -first 1 + URL32 = $urls -notmatch "64\.exe" | Select-Object -first 1 + URL64 = $urls -match "64\.exe" | Select-Object -first 1 Version = $version FileType = 'exe' }