Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions Growl/Growl.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,18 @@
<metadata>
<id>Growl</id>
<title>Growl For Windows</title>
<version>2.0.9.20130406</version>
<version>2.0.9.20191201</version>
<authors>Brian Dunnington</authors>
<owners>H. Alan Stevens,Ethan Brown</owners>
<owners>H. Alan Stevens,Ethan Brown,Patrick Wyatt</owners>
<summary>Growl for Windows is a Windows-compatible version of Growl, a notification system for Mac OS X.</summary>
<description>Growl for Windows is a Windows-compatible version of Growl, a notification system for Mac OS X. Growl lets you know when things happen. Files finished downloading, friends came online, new email has arrived - Growl can let you know when any event occurs with a subtle notification. The rest of the time, Growl stays out of your way.
| Please install with chocolatey (http://nuget.org/List/Packages/chocolatey).</description>
<projectUrl>http://www.growlforwindows.com/</projectUrl>
<tags>growl chocolatey</tags>
<tags>growl notification notification-service</tags>
<licenseUrl>http://www.opensource.org/licenses/bsd-license.php</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<iconUrl>https://github.com/alanstevens/ChocoPackages/raw/master/Growl/Growl.png</iconUrl>
<!--<dependencies>
<dependency id="" version="" />
</dependencies>-->
<iconUrl>https://github.com/webcoyote/ChocoPackages/raw/master/Growl/Growl.png</iconUrl>
<projectSourceUrl>https://github.com/briandunnington/growl-for-windows</projectSourceUrl>
<packageSourceUrl>https://github.com/webcoyote/ChocoPackages/tree/master/Growl</packageSourceUrl>
</metadata>
</package>
40 changes: 8 additions & 32 deletions Growl/tools/ChocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -1,33 +1,9 @@
$packageName = 'Growl'

try
{
if ([Environment]::OSVersion.Version -gt '6.2')
{
$feature = @{FeatureName = 'NetFx3'; Online = $true}
$fxInstalled = Get-WindowsOptionalFeature @feature |
Select -ExpandProperty State

if ($fxInstalled -ne 'Enabled')
{
Write-Host 'Enabling .NET Framework 2.0 runtime...'
Enable-WindowsOptionalFeature @feature
}
}

$params = @{
packageName = $package;
fileType = 'exe';
silentArgs = '/c:"msiexec -i Growl_v2.0.msi /qn"'
url = 'http://www.growlforwindows.com/gfw/d.ashx?f=GrowlInstaller.exe';
}

Install-ChocolateyPackage @params

Write-ChocolateySuccess $packageName
}
catch
{
Write-ChocolateyFailure $package "$($_.Exception.Message)"
throw
$params = @{
packageName = "growl";
fileType = 'exe';
silentArgs = '/c:"msiexec -i Growl_v2.0.msi /qn"';
url = 'https://github.com/briandunnington/growl-for-windows/releases/download/final/GrowlInstaller.exe';
checksum = '663598d376d15eaea5d82d21abcaed36039d958eced0e085b7b9937f3e10b8da';
checksumType = 'sha256';
}
Install-ChocolateyPackage @params