Skip to content

Commit

Permalink
AU: 1 updated - golly
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Jul 8, 2018
1 parent 0c63510 commit b18d440
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
3 changes: 3 additions & 0 deletions automatic/golly/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# ![Golly Game of Life Changelog](https://img.shields.io/badge/Golly%20Game%20of%20Life-Package%20Changelog-blue.svg?style=for-the-badge)

## Version: 3.2 (2018-07-08)
- **ENHANCEMENT:** Add package changelogs [#6](https://github.com/AdmiringWorm/chocolatey-packages/issues/6)

## Version 3.1 (2017-10-21)
- Initial implementation of the golly chocolatey package
2 changes: 1 addition & 1 deletion automatic/golly/golly.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>golly</id>
<version>3.1</version>
<version>3.2</version>
<packageSourceUrl>https://github.com/AdmiringWorm/chocolatey-packages/tree/master/automatic/golly</packageSourceUrl>
<owners>AdmiringWorm, </owners>
<title>Golly Game of Life</title>
Expand Down
8 changes: 4 additions & 4 deletions automatic/golly/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ location on <https://sourceforge.net/projects/golly/files/golly/>
and can be verified by doing the following:

1. Download the following:
32-Bit software: <https://sourceforge.net/projects/golly/files/golly/golly-3.1/golly-3.1-win-32bit.zip/download>
64-Bit software: <https://sourceforge.net/projects/golly/files/golly/golly-3.1/golly-3.1-win-64bit.zip/download>
32-Bit software: <https://sourceforge.net/projects/golly/files/golly/golly-3.2/golly-3.2-win-32bit.zip/download>
64-Bit software: <https://sourceforge.net/projects/golly/files/golly/golly-3.2/golly-3.2-win-64bit.zip/download>
2. Get the checksum using one of the following methods:
- Using powershell function 'Get-FileHash'
- Use chocolatey utility 'checksum.exe'
3. The checksums should match the following:

checksum type: sha256
checksum32: C18B13C6D6616E8A3CFC8EDF30907E92522C6D356650E69B2C4929924728EC45
checksum64: B9EB774AEEA1AC855D4D27C18E9F163E11448FE6659FB7FD46E72E999BCBC7EB
checksum32: BC64BBE504356B0A5D294E35235ACE3D6F24A7CA5FA5A095DE32F44666DAECEF
checksum64: C6DDA1B2A8334FA402A5522E3897A752509ED540127873BC1574ABBFBDF7358B

The file 'LICENSE.txt' has been obtained from <https://sourceforge.net/p/golly/code/ci/master/tree/docs/License.html>
6 changes: 3 additions & 3 deletions automatic/golly/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ $packageName = $env:ChocolateyPackageName

$packageArgs = @{
packageName = $packageName
file = "$toolsPath\golly-3.1-win-32bit.zip"
file64 = "$toolsPath\golly-3.1-win-64bit.zip"
file = "$toolsPath\golly-3.2-win-32bit.zip"
file64 = "$toolsPath\golly-3.2-win-64bit.zip"
destination = "$toolsPath"
}

Get-ChocolateyUnzip @packageArgs
Remove-Item $toolsPath\*.zip -ea 0

$exeLocation = Get-ChildItem $toolsPath "Golly.exe" -Recurse | select -first 1
$exeLocation = Get-ChildItem $toolsPath "Golly.exe" -Recurse | Select-Object -first 1
if ($exeLocation) {
Set-Content "$($exeLocation.FullName).gui" -Value ''
Register-Application "$($exeLocation.FullName)"
Expand Down

0 comments on commit b18d440

Please sign in to comment.