Skip to content

Commit

Permalink
AU: 1 updated - teeworlds
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Oct 14, 2018
1 parent 94434a3 commit 2008646
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 13 deletions.
3 changes: 2 additions & 1 deletion automatic/teeworlds/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# ![Teeworlds Changelog](https://img.shields.io/badge/Teeworlds-Package%20Changelog-blue.svg?style=for-the-badge)

## UPCOMING
## Version: 0.6.5 (2018-10-14)
- **ENHANCEMENT:** Add package changelogs [#6](https://github.com/AdmiringWorm/chocolatey-packages/issues/6)
- **ENHANCEMENT:** Added changelog for package

## Version (2017-11-03)
Expand Down
2 changes: 1 addition & 1 deletion automatic/teeworlds/Readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# [<img src="https://cdn.rawgit.com/AdmiringWorm/chocolatey-packages/136615db5277db08fd0e07fd25997c8a32dbf233/icons/teeworlds.png" height="48" width="48" /> ![Teeworlds](https://img.shields.io/chocolatey/v/teeworlds.svg?label=Teeworlds&style=for-the-badge)](https://chocolatey.org/packages/teeworlds)
# [<img src="https://cdn.jsdelivr.net/gh/AdmiringWorm/chocolatey-packages@136615db5277db08fd0e07fd25997c8a32dbf233/icons/teeworlds.png" height="48" width="48" /> ![Teeworlds](https://img.shields.io/chocolatey/v/teeworlds.svg?label=Teeworlds&style=for-the-badge)](https://chocolatey.org/packages/teeworlds)

Teeworlds is a free online multiplayer game, available for all major operating systems. Battle with up to 16 players in a variety of game modes, including Team Deathmatch and Capture The Flag. You can even design your own maps!

Expand Down
4 changes: 2 additions & 2 deletions automatic/teeworlds/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ The embedded software have been downloaded from the listed download
location on <https://teeworlds.com/?page=downloads>
and can be verified by doing the following:

1. Download the following <https://github.com/teeworlds/teeworlds/releases/download/0.6.4-release/teeworlds-0.6.4-win32.zip>
1. Download the following <https://downloads.teeworlds.com/teeworlds-0.6.5-win32.zip>
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
checksum: 4D81EDA99C625AB648D7B29476F24C16A6B3F0B4D28A1766B43F76C7D3097930
checksum: E825AEDD9C47AE9936A19BC1AA75B9CFED8B5D5474AC5AEEDE9FA5A3247D201E

The file 'LICENSE.txt' has been obtained from <https://github.com/teeworlds/teeworlds/blob/master/license.txt>
3 changes: 2 additions & 1 deletion automatic/teeworlds/teeworlds.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"0.6.4": "0.6.4"
"0.6.4": "0.6.4",
"0.6.5": "0.6.5"
}
8 changes: 4 additions & 4 deletions automatic/teeworlds/teeworlds.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>teeworlds</id>
<version>0.6.4</version>
<version>0.6.5</version>
<packageSourceUrl>https://github.com/AdmiringWorm/chocolatey-packages/tree/master/automatic/teeworlds</packageSourceUrl>
<owners>AdmiringWorm</owners>
<title>Teeworlds</title>
<authors>Magnus Auvinen</authors>
<projectUrl>https://teeworlds.com/?page=downloads</projectUrl>
<iconUrl>https://cdn.rawgit.com/AdmiringWorm/chocolatey-packages/136615db5277db08fd0e07fd25997c8a32dbf233/icons/teeworlds.png</iconUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/AdmiringWorm/chocolatey-packages@136615db5277db08fd0e07fd25997c8a32dbf233/icons/teeworlds.png</iconUrl>
<copyright>Copyright (C) Magnus Auvinen</copyright>
<licenseUrl>https://github.com/teeworlds/teeworlds/blob/master/license.txt</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
Expand All @@ -30,8 +30,8 @@
`choco install teeworlds --params '"/Desktop /NoStartMenu"'`
]]></description>
<releaseNotes>
[Software Changelog](https://teeworlds.com/?page=downloads&amp;id=12085)
[Package Changelog](https://github.com/AdmiringWorm/chocolatey-packages/blob/master/automatic/teeworlds/Changelog.md)
[Software Changelog](https://teeworlds.com/?page=downloads&amp;id=12543
[Package Changelog](https://github.com/AdmiringWorm/chocolatey-packages/blob/master/teeworlds/Changelog.md)
</releaseNotes>
<dependencies>
<dependency id="chocolatey-core.extension" version="1.3.3" />
Expand Down
6 changes: 3 additions & 3 deletions automatic/teeworlds/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ $toolsPath = Split-Path -parent $MyInvocation.MyCommand.Definition

$packageArgs = @{
packageName = $env:ChocolateyPackageName
file = "$toolsPath\teeworlds-0.6.4-win32.zip"
file = "$toolsPath\teeworlds-0.6.5-win32.zip"
destination = "$toolsPath"
}

Get-ChocolateyUnzip @packageArgs

Remove-Item $packageArgs.file -Force

$gameFile = Get-ChildItem $toolsPath "teeworlds.exe" -Recurse | % { $_.FullName }
$serverFile = Get-ChildItem $toolsPath "teeworlds_srv.exe" -Recurse | % { $_.FullName }
$gameFile = Get-ChildItem $toolsPath "teeworlds.exe" -Recurse | ForEach-Object { $_.FullName }
$serverFile = Get-ChildItem $toolsPath "teeworlds_srv.exe" -Recurse | ForEach-Object { $_.FullName }

$pp = Get-PackageParameters

Expand Down
2 changes: 1 addition & 1 deletion automatic/teeworlds/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@(
[System.Environment]::GetFolderPath('CommonDesktopDirectory')
[System.Environment]::GetFolderPath('CommonStartMenu')
) | % {
) | ForEach-Object {
if (Test-Path "$_\Teeworlds.lnk") { Remove-Item "$_\Teeworlds.lnk" }
if (Test-Path "$_\Teeworlds Server.lnk") { Remove-Item "$_\Teeworlds Server.lnk"}
}

0 comments on commit 2008646

Please sign in to comment.