From 2f9f44140148b8be013abf8618c2c794d0b5576f Mon Sep 17 00:00:00 2001 From: Chocolatey Community Date: Sun, 2 Jul 2023 12:14:20 +0000 Subject: [PATCH] AU: 3 updated - autohotkey autohotkey.install autohotkey.portable [skip ci] https://gist.github.com/choco-bot/a14b1e5bfaf70839b338eb1ab7f8226f/428c1f01634b9f44c56c3670ddf588eb1fd559ff --- automatic/autohotkey.install/autohotkey.install.nuspec | 2 +- automatic/autohotkey.install/tools/VERIFICATION.txt | 10 +++++----- automatic/autohotkey.install/update.ps1 | 10 +++++----- automatic/autohotkey.portable/autohotkey.portable.json | 2 +- .../autohotkey.portable/autohotkey.portable.nuspec | 2 +- automatic/autohotkey.portable/tools/VERIFICATION.txt | 10 +++++----- .../autohotkey.portable/tools/chocolateyInstall.ps1 | 2 +- automatic/autohotkey/autohotkey.nuspec | 4 ++-- 8 files changed, 21 insertions(+), 21 deletions(-) diff --git a/automatic/autohotkey.install/autohotkey.install.nuspec b/automatic/autohotkey.install/autohotkey.install.nuspec index d48b9233894..8042bc56650 100644 --- a/automatic/autohotkey.install/autohotkey.install.nuspec +++ b/automatic/autohotkey.install/autohotkey.install.nuspec @@ -3,7 +3,7 @@ autohotkey.install - 1.1.36.02 + 1.1.37.00 AutoHotkey (Install) chocolatey-community Lexikos diff --git a/automatic/autohotkey.install/tools/VERIFICATION.txt b/automatic/autohotkey.install/tools/VERIFICATION.txt index bd697a497f7..c4773aa84ea 100644 --- a/automatic/autohotkey.install/tools/VERIFICATION.txt +++ b/automatic/autohotkey.install/tools/VERIFICATION.txt @@ -7,8 +7,8 @@ Package can be verified like this: 1. Go to - x32: https://github.com/Lexikos/AutoHotkey_L/releases/download/v1.1.36.02/AutoHotkey_1.1.36.02_setup.exe - x64: https://github.com/Lexikos/AutoHotkey_L/releases/download/v1.1.36.02/AutoHotkey_1.1.36.02_setup.exe + x32: https://github.com/Lexikos/AutoHotkey_L/releases/download/v1.1.37.00/AutoHotkey_1.1.37.00_setup.exe + x64: https://github.com/Lexikos/AutoHotkey_L/releases/download/v1.1.37.00/AutoHotkey_1.1.37.00_setup.exe to download the installer. @@ -16,12 +16,12 @@ Package can be verified like this: - Use powershell function 'Get-FileHash' - Use Chocolatey utility 'checksum.exe' - checksum32: AF7B8E60B4B54F5F85E6B207AC51926CB076AA4319B8E4C72E59B98C85818CAE - checksum64: AF7B8E60B4B54F5F85E6B207AC51926CB076AA4319B8E4C72E59B98C85818CAE + checksum32: E16E14A5902618298C24B6B6A2503D83D435BD647DCBDC2A20FA5F7285C57168 + checksum64: E16E14A5902618298C24B6B6A2503D83D435BD647DCBDC2A20FA5F7285C57168 Using AU: - Get-RemoteChecksum https://github.com/Lexikos/AutoHotkey_L/releases/download/v1.1.36.02/AutoHotkey_1.1.36.02_setup.exe + Get-RemoteChecksum https://github.com/Lexikos/AutoHotkey_L/releases/download/v1.1.37.00/AutoHotkey_1.1.37.00_setup.exe File 'license.txt' is obtained from: https://github.com/AutoHotkey/AutoHotkey/blob/df84a3e902b522db0756a7366bd9884c80fa17b6/license.txt diff --git a/automatic/autohotkey.install/update.ps1 b/automatic/autohotkey.install/update.ps1 index 1a53d6881d2..5a99efd1089 100644 --- a/automatic/autohotkey.install/update.ps1 +++ b/automatic/autohotkey.install/update.ps1 @@ -1,4 +1,4 @@ -import-module au +import-module au $releases = 'https://autohotkey.com/download/1.1' @@ -20,7 +20,7 @@ function global:au_SearchReplace { } function global:au_BeforeUpdate { - rm "$PSScriptRoot\tools\*.exe" + Remove-Item "$PSScriptRoot\tools\*.exe" $client = New-Object System.Net.WebClient $filePath = "$PSScriptRoot\tools\$($Latest.FileName)" @@ -28,16 +28,16 @@ function global:au_BeforeUpdate { $client.Dispose() $Latest.ChecksumType = 'sha256' - $Latest.Checksum = Get-FileHash -Algorithm $Latest.ChecksumType -Path $filePath | % Hash + $Latest.Checksum = Get-FileHash -Algorithm $Latest.ChecksumType -Path $filePath | ForEach-Object Hash } function global:au_GetLatest { - $version = Invoke-WebRequest -Uri "$releases\version.txt" -UseBasicParsing | % Content + $version = Invoke-WebRequest -Uri "$releases\version.txt" -UseBasicParsing | ForEach-Object Content $url = "https://github.com/Lexikos/AutoHotkey_L/releases/download/v${version}/AutoHotkey_${version}_setup.exe" @{ Version = $version URL = $url - FileName = $url -split '/' | select -Last 1 + FileName = $url -split '/' | Select-Object -Last 1 } } diff --git a/automatic/autohotkey.portable/autohotkey.portable.json b/automatic/autohotkey.portable/autohotkey.portable.json index e85c032f05b..c74de0ce007 100644 --- a/automatic/autohotkey.portable/autohotkey.portable.json +++ b/automatic/autohotkey.portable/autohotkey.portable.json @@ -1,4 +1,4 @@ { - "1.1": "1.1.36.02", + "1.1": "1.1.37.00", "2.0": "2.0.3" } diff --git a/automatic/autohotkey.portable/autohotkey.portable.nuspec b/automatic/autohotkey.portable/autohotkey.portable.nuspec index b44486a77d5..15a777bd50a 100644 --- a/automatic/autohotkey.portable/autohotkey.portable.nuspec +++ b/automatic/autohotkey.portable/autohotkey.portable.nuspec @@ -3,7 +3,7 @@ autohotkey.portable - 2.0.3 + 1.1.37.00 AutoHotkey (Portable) chocolatey-community Lexikos diff --git a/automatic/autohotkey.portable/tools/VERIFICATION.txt b/automatic/autohotkey.portable/tools/VERIFICATION.txt index cc7c11483a8..dd9588e8360 100644 --- a/automatic/autohotkey.portable/tools/VERIFICATION.txt +++ b/automatic/autohotkey.portable/tools/VERIFICATION.txt @@ -7,8 +7,8 @@ Package can be verified like this: 1. Go to - x32: https://autohotkey.com/download/2.0//AutoHotkey_2.0.3.zip - x64: https://autohotkey.com/download/2.0//AutoHotkey_2.0.3.zip + x32: https://autohotkey.com/download/1.1//AutoHotkey_1.1.37.00.zip + x64: https://autohotkey.com/download/1.1//AutoHotkey_1.1.37.00.zip to download the installer. @@ -16,12 +16,12 @@ Package can be verified like this: - Use powershell function 'Get-FileHash' - Use Chocolatey utility 'checksum.exe' - checksum32: 2F0C37C4E38EB50F7B40DEAB672F724EA4E3EDBEA0384406A3778B867CDA5DA9 - checksum64: 2F0C37C4E38EB50F7B40DEAB672F724EA4E3EDBEA0384406A3778B867CDA5DA9 + checksum32: BAF570165017DC37FB218FF5C1BE8F783BBBC0235A0A3065ECF6AE48D6070BB7 + checksum64: BAF570165017DC37FB218FF5C1BE8F783BBBC0235A0A3065ECF6AE48D6070BB7 Using AU: - Get-RemoteChecksum https://autohotkey.com/download/2.0//AutoHotkey_2.0.3.zip + Get-RemoteChecksum https://autohotkey.com/download/1.1//AutoHotkey_1.1.37.00.zip File 'license.txt' is obtained from: https://github.com/AutoHotkey/AutoHotkey/blob/df84a3e902b522db0756a7366bd9884c80fa17b6/license.txt diff --git a/automatic/autohotkey.portable/tools/chocolateyInstall.ps1 b/automatic/autohotkey.portable/tools/chocolateyInstall.ps1 index d8732998707..ae4aee0ddae 100644 --- a/automatic/autohotkey.portable/tools/chocolateyInstall.ps1 +++ b/automatic/autohotkey.portable/tools/chocolateyInstall.ps1 @@ -1,6 +1,6 @@ $ErrorActionPreference = 'Stop' -$fileName = 'AutoHotkey_2.0.3.zip' +$fileName = 'AutoHotkey_1.1.37.00.zip' $toolsPath = Split-Path -Parent $MyInvocation.MyCommand.Definition $zip_path = "$toolsPath\$fileName" Remove-Item $toolsPath\* -Recurse -Force -Exclude $fileName diff --git a/automatic/autohotkey/autohotkey.nuspec b/automatic/autohotkey/autohotkey.nuspec index da4935df4a7..378187db4cc 100644 --- a/automatic/autohotkey/autohotkey.nuspec +++ b/automatic/autohotkey/autohotkey.nuspec @@ -3,7 +3,7 @@ autohotkey - 1.1.36.02 + 1.1.37.00 AutoHotkey chocolatey-community Lexikos @@ -37,7 +37,7 @@ automation hotkeys scripting windows foss admin - + https://github.com/chocolatey-community/chocolatey-packages/tree/master/automatic/autohotkey https://github.com/Lexikos/AutoHotkey_L