Skip to content

Commit

Permalink
AU: 1 updated - launchyqt
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Jul 20, 2021
1 parent 78caebc commit c37b9a2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion automatic/launchyqt/launchyqt.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>launchyqt</id>
<version>3.1.1</version>
<version>3.1.2</version>
<packageSourceUrl>https://github.com/chtof/chocolatey-packages/tree/master/automatic/launchyqt</packageSourceUrl>
<owners>chtof</owners>
<title>Launchy QT</title>
Expand Down
8 changes: 4 additions & 4 deletions automatic/launchyqt/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ Package can be verified like this:

1. Download:

x32: https://github.com/samsonwang/LaunchyQt/releases/download/v3.1.1/Launchy-3.1.1-win-x86.7z
x64: https://github.com/samsonwang/LaunchyQt/releases/download/v3.1.1/Launchy-3.1.1-win-x86.7z
x32: https://github.com/samsonwang/LaunchyQt/releases/download/v3.1.2/Launchy-3.1.2-win-x86.7z
x64: https://github.com/samsonwang/LaunchyQt/releases/download/v3.1.2/Launchy-3.1.2-win-x86.7z

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

checksum type: sha256
checksum32: ED049AF65CE4F32B641D16408EDF7AEDA54B88E55CC7468A20F876D83C81FD1E
checksum64: ED049AF65CE4F32B641D16408EDF7AEDA54B88E55CC7468A20F876D83C81FD1E
checksum32: D24CA81F501523DE1EA28620F6C75C3B3E660FE4330D5DF77010826B9AA06794
checksum64: D24CA81F501523DE1EA28620F6C75C3B3E660FE4330D5DF77010826B9AA06794

File 'LICENSE.txt' is obtained from:
https://raw.githubusercontent.com/samsonwang/LaunchyQt/master/LICENSE
10 changes: 5 additions & 5 deletions automatic/launchyqt/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,21 @@ $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$packageArgs = @{
packageName = $env:ChocolateyPackageName
destination = "$toolsDir"
file = "$toolsDir\Launchy-3.1.1-win-x86.7z"
#file64 = "$toolsDir\Launchy-3.1.1-win-amd64.7z"
file = "$toolsDir\Launchy-3.1.2-win-x86.7z"
#file64 = "$toolsDir\Launchy-3.1.2-win-amd64.7z"
}

#if (Get-OSArchitectureWidth -Compare "32") { $arch = 'x86' } else { $arch = 'amd64'}

foreach ($file in 'python.exe', 'pythonw.exe') {
New-Item -path $toolsDir\Launchy-3.1.1-win-${arch} -name "$file.ignore" -type File -force | Out-Null
New-Item -path $toolsDir\Launchy-3.1.2-win-${arch} -name "$file.ignore" -type File -force | Out-Null
}

Get-ChocolateyUnzip @packageArgs

# Install start menu shortcut
$programs = [environment]::GetFolderPath([environment+specialfolder]::Programs)
$shortcutFilePath = Join-Path $programs "Launchy.lnk"
#$targetPath = Join-Path $toolsDir "Launchy-3.1.1-win-${arch}\Launchy.exe"
$targetPath = Join-Path $toolsDir "Launchy-3.1.1-win-x86\Launchy.exe"
#$targetPath = Join-Path $toolsDir "Launchy-3.1.2-win-${arch}\Launchy.exe"
$targetPath = Join-Path $toolsDir "Launchy-3.1.2-win-x86\Launchy.exe"
Install-ChocolateyShortcut -shortcutFilePath $shortcutFilePath -targetPath $targetPath

0 comments on commit c37b9a2

Please sign in to comment.