Skip to content

Commit

Permalink
AU: 3 updated - ghostdoc-enterprise ghostdoc-pro wave-engine
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Apr 6, 2018
1 parent 0d7a787 commit 04cb59c
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 18 deletions.
2 changes: 1 addition & 1 deletion automatic/ghostdoc-enterprise/ghostdoc-enterprise.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>ghostdoc-enterprise</id>
<version>5.8.17335</version>
<version>5.9.18070</version>
<packageSourceUrl>https://github.com/AdmiringWorm/chocolatey-packages/tree/master/automatic/ghostdoc-enterprise</packageSourceUrl>
<owners>AdmiringWorm</owners>
<title>GhostDoc Enterprise Edition</title>
Expand Down
8 changes: 4 additions & 4 deletions automatic/ghostdoc-enterprise/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ $cacheDirectory = Get-PackageCacheLocation
$packageArgs = @{
packageName = $env:chocolateyPackageName
fileType = 'exe'
url = 'https://submain.com/download/GhostDocEnt_v5.8.zip'
url = 'https://submain.com/download/GhostDocEnt_v5.9.zip'
unzipLocation = $cacheDirectory
softwareName = 'GhostDoc Enterprise'
checksum = '35EF522F488F3131A8A00D3F2522CC69BA86A47B6305C3D7A4CE34F0E4AB1DA3863BDFBA94A20CFC763F05043CD08D0BB8929C4123BA69623EA88FB563D0E2DE'
checksum = '2CB4F16A08216378796FB8C5E72A38A186DF69329A29EA4A90E4A687B52FE5587763F60BEE0152DAE4902DBF93A1B78B6DD09203790642BB39F3B97B3AA7F92A'
checksumType = 'sha512'
silentArgs = ''
validExitCodes = @(0)
Expand All @@ -23,7 +23,7 @@ $packageArgs = @{
$toolsDir = (Split-Path -Parent $MyInvocation.MyCommand.Definition)

if ($existingKey.Length -eq 1) {
$existingKey | % {
$existingKey | ForEach-Object {
. "$toolsDir\helpers.ps1"
Write-Host "Uninstalling previous version of $($packageArgs.softwareName)"
UninstallGhostDoc "$($_.PSChildName)"
Expand All @@ -32,7 +32,7 @@ if ($existingKey.Length -eq 1) {

Install-ChocolateyZipPackage @packageArgs

$packageArgs["file"] = Get-ChildItem $cacheDirectory -Filter "*.exe" -Recurse | select -First 1 -ExpandProperty FullName
$packageArgs["file"] = Get-ChildItem $cacheDirectory -Filter "*.exe" -Recurse | Select-Object -First 1 -ExpandProperty FullName

if ($env:chocolateyInstallOverride -ne $true) {
Start-Process "autohotkey.exe" "$toolsDir\ghostdocInstall.ahk"
Expand Down
4 changes: 2 additions & 2 deletions automatic/ghostdoc-enterprise/tools/chocolateyuninstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
$toolsDir = (Split-Path -Parent $MyInvocation.MyCommand.Definition)

if ($key.Count -eq 1) {
$key | % {
$key | ForEach-Object {
. "$toolsDir\helpers.ps1"
UninstallGhostDoc "$($_.PSChildName)"
}
Expand All @@ -14,5 +14,5 @@ if ($key.Count -eq 1) {
Write-Warning "$($key.Count) matches found!"
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
Write-Warning "Please alert the package maintainer that the following keys were matched:"
$key | % { Write-Warning "- $($_.DisplayName)" }
$key | ForEach-Object { Write-Warning "- $($_.DisplayName)" }
}
2 changes: 1 addition & 1 deletion automatic/ghostdoc-pro/ghostdoc-pro.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>ghostdoc-pro</id>
<version>5.8.17335</version>
<version>5.9.18070</version>
<packageSourceUrl>https://github.com/AdmiringWorm/chocolatey-packages/tree/master/automatic/ghostdoc-pro</packageSourceUrl>
<owners>AdmiringWorm</owners>
<title>GhostDoc Pro Edition</title>
Expand Down
8 changes: 4 additions & 4 deletions automatic/ghostdoc-pro/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ $cacheDirectory = Get-PackageCacheLocation
$packageArgs = @{
packageName = $env:chocolateyPackageName
fileType = 'exe'
url = 'https://submain.com/download/GhostDocPro_v5.8.zip'
url = 'https://submain.com/download/GhostDocPro_v5.9.zip'
unzipLocation = $cacheDirectory
softwareName = 'GhostDoc Pro'
checksum = 'B0233DB986CD8DB87A8229AE07681699626446F6CC017ADB7F14CA9A73ABAB3DB4CD5B018E9D9BD6196E5B062A9ED9320E77570A70990A54D97B42C880477798'
checksum = '52A17DF4A5D92E2535B087255179302CBCE8B1A05620E17671E58524C30503D9D4F1D7E89D134A7D9496C2AC9BBE61028C3055E297E03F5BF454DBDE21370C69'
checksumType = 'sha512'
silentArgs = ''
validExitCodes = @(0)
Expand All @@ -23,7 +23,7 @@ $packageArgs = @{
$toolsDir = (Split-Path -Parent $MyInvocation.MyCommand.Definition)

if ($existingKey.Length -eq 1) {
$existingKey | % {
$existingKey | ForEach-Object {
. "$toolsDir\helpers.ps1"
Write-Host "Uninstalling previous version of GhostDoc Pro"
UninstallGhostDoc "$($_.PSChildName)"
Expand All @@ -32,7 +32,7 @@ if ($existingKey.Length -eq 1) {

Install-ChocolateyZipPackage @packageArgs

$packageArgs["file"] = Get-ChildItem $cacheDirectory -Filter "*.exe" -Recurse | select -First 1 -ExpandProperty FullName
$packageArgs["file"] = Get-ChildItem $cacheDirectory -Filter "*.exe" -Recurse | Select-Object -First 1 -ExpandProperty FullName

if ($env:chocolateyInstallOverride -ne $true) {
Start-Process "autohotkey.exe" "$toolsDir\ghostdocInstall.ahk"
Expand Down
4 changes: 2 additions & 2 deletions automatic/ghostdoc-pro/tools/chocolateyuninstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
$toolsDir = (Split-Path -Parent $MyInvocation.MyCommand.Definition)

if ($key.Count -eq 1) {
$key | % {
$key | ForEach-Object {
. "$toolsDir\helpers.ps1"
UninstallGhostDoc "$($_.PSChildName)"
}
Expand All @@ -14,5 +14,5 @@ if ($key.Count -eq 1) {
Write-Warning "$($key.Count) matches found!"
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
Write-Warning "Please alert the package maintainer that the following keys were matched:"
$key | % { Write-Warning "- $($_.DisplayName)" }
$key | ForEach-Object { Write-Warning "- $($_.DisplayName)" }
}
4 changes: 4 additions & 0 deletions automatic/wave-engine/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# ![Wave Engine Changelog](https://img.shields.io/badge/Wave%20Engine-Package%20Changelog-blue.svg?style=for-the-badge)

## Version: 2.4.1.20180406 (2018-04-06)
- **ENHANCEMENT:** Changed vcredist2017 dependency to vcredist140 and updated version
- **IMPROVEMENT:** Updated dependencies to what installer expects

## Version: 2.4.0 (2017-08-24)
- **ENHANCEMENT:** Added changelog for package
- **ENHANCEMENT:** Extracted Description to its own file
Expand Down
2 changes: 1 addition & 1 deletion automatic/wave-engine/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ $packageName = $env:chocolateyPackageName
$packageArgs = @{
packageName = $packageName
fileType = 'exe'
url = 'https://wave.blob.core.windows.net/waveinstallers/WaveEngineSetup_2_4_1.exe'
url = 'https://waveenginefiles.blob.core.windows.net/installers/WaveEngineSetup_2_4_1.exe'
checksum = '8aae5abbc4c3489bad00798cadf027b90c072eb13280106a2c4279971a73adf4'
checksumType = 'sha256'

Expand Down
4 changes: 2 additions & 2 deletions automatic/wave-engine/tools/chocolateyuninstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ $uninstalled = $false
[array]$key = Get-UninstallRegistryKey -SoftwareName $softwareName

if ($key.Count -eq 1) {
$key | % {
$key | ForEach-Object {
$file = ''
$silentArgs = "$($_.PSChildName) $silentArgs"

Expand All @@ -28,5 +28,5 @@ if ($key.Count -eq 1) {
Write-Warning "$key.Count matches found!"
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
Write-Warning "Please alert package maintainer the following keys were matched:"
$key | % {Write-Warning "- $_.DisplayName"}
$key | ForEach-Object {Write-Warning "- $_.DisplayName"}
}
2 changes: 1 addition & 1 deletion automatic/wave-engine/wave-engine.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>wave-engine</id>
<version>2.4.1</version>
<version>2.4.1.20180406</version>
<packageSourceUrl>https://github.com/AdmiringWorm/chocolatey-packages/tree/master/automatic/wave-engine</packageSourceUrl>
<owners>Kim Nordmo</owners>
<title>Wave Engine</title>
Expand Down

0 comments on commit 04cb59c

Please sign in to comment.