From eabd416259b52e3309cc0038130f295276b59ea3 Mon Sep 17 00:00:00 2001 From: Tunisiano187 Date: Thu, 12 Sep 2024 09:32:55 +0000 Subject: [PATCH] Package download asteroids [skip ci] --- automatic/asteroids/README.md | 39 +++++++++++++++ automatic/asteroids/asteroids.nuspec | 47 +++++++++++++++++++ automatic/asteroids/tools/LICENSE.txt | 7 +++ automatic/asteroids/tools/VERIFICATION.txt | 5 ++ .../asteroids/tools/chocolateyinstall.ps1 | 22 +++++++++ .../asteroids/tools/chocolateyuninstall.ps1 | 6 +++ 6 files changed, 126 insertions(+) create mode 100644 automatic/asteroids/README.md create mode 100644 automatic/asteroids/asteroids.nuspec create mode 100644 automatic/asteroids/tools/LICENSE.txt create mode 100644 automatic/asteroids/tools/VERIFICATION.txt create mode 100644 automatic/asteroids/tools/chocolateyinstall.ps1 create mode 100644 automatic/asteroids/tools/chocolateyuninstall.ps1 diff --git a/automatic/asteroids/README.md b/automatic/asteroids/README.md new file mode 100644 index 000000000..8443f4c1a --- /dev/null +++ b/automatic/asteroids/README.md @@ -0,0 +1,39 @@ +[![](https://img.shields.io/chocolatey/v/asteroids?color=green&label=asteroids)](https://chocolatey.org/packages/asteroids) [![](https://img.shields.io/chocolatey/dt/asteroids)](https://chocolatey.org/packages/asteroids) + +## Asteroids Freeware (Portable) + +![screen shot of Asteroids Freeware](http://pjsfreeware.synthasite.com/resources/asteroids.png) + +There are lots a remakes of Asteroids Here's mine. New Update 29/07/13 Added joystick support + +###Playing +Rotate your spaceship using the left and right arrow keys. Increase speed using the up arrow key. Use the down arrow key to teleport yourself away from a dangerous situation (but be careful, you might end up in an asteroid). Use the spacebar to shoot. +you can play with gamepad with buttons 1 and 2 firing/teleport. + +###Extras +You will met some special objects when you move along: +* Spinning stars extra lives +* large UFO's that shoot without aiming +* More clever small UFO's +* Very fast UFO's that try to ram you + +###Special Keys +* Esc ends the game +* F1 shows the help file +* F2 set scaled fullscreen mode +* F3 set non-scaled fullscreen mode +* F4 set windowed mode +* F5 show highscore table +* F6 pause game + +gm8 29/07/2013 + +**[PACKAGE NOTES](https://github.com/bcurran3/ChocolateyPackages/blob/master/asteroids/readme.md)** + +#### [choco://asteroids](choco://asteroids) +To use choco:// protocol URLs, install [(unofficial) choco:// Protocol support ](https://chocolatey.org/packages/choco-protocol-support) + +### Package-specific issue +If this package isn't up-to-date for some days, [Create an issue](https://github.com/tunisiano187/Chocolatey-packages/issues/new/choose) + +Support the package maintainer and [![Patreon](https://cdn.jsdelivr.net/gh/tunisiano187/Chocolatey-packages@d15c4e19c709e7148588d4523ffc6dd3cd3c7e5e/icons/patreon.png)](https://www.patreon.com/bePatron?u=39585820) diff --git a/automatic/asteroids/asteroids.nuspec b/automatic/asteroids/asteroids.nuspec new file mode 100644 index 000000000..8bd366325 --- /dev/null +++ b/automatic/asteroids/asteroids.nuspec @@ -0,0 +1,47 @@ + + + + asteroids + 2013.07.29 + Asteroids Freeware (Portable) + PJ Crossley + bcurran3 + http://pjsfreeware.synthasite.com/ + http://pjsfreeware.synthasite.com/resources/Rendered5.jpg + false + ![screen shot of Asteroids Freeware](http://pjsfreeware.synthasite.com/resources/asteroids.png) + +There are lots a remakes of Asteroids Here's mine. New Update 29/07/13 Added joystick support + +###Playing +Rotate your spaceship using the left and right arrow keys. Increase speed using the up arrow key. Use the down arrow key to teleport yourself away from a dangerous situation (but be careful, you might end up in an asteroid). Use the spacebar to shoot. +you can play with gamepad with buttons 1 and 2 firing/teleport. + +###Extras +You will met some special objects when you move along: +* Spinning stars extra lives +* large UFO's that shoot without aiming +* More clever small UFO's +* Very fast UFO's that try to ram you + +###Special Keys +* Esc ends the game +* F1 shows the help file +* F2 set scaled fullscreen mode +* F3 set non-scaled fullscreen mode +* F4 set windowed mode +* F5 show highscore table +* F6 pause game + +gm8 29/07/2013 + +**[PACKAGE NOTES](https://github.com/bcurran3/ChocolateyPackages/blob/master/asteroids/readme.md)** + PJ Crossley's remake of the classic Asteroids game. + PJ Crossley (c) 2010 + pjcrossley asteroids retro game portable + https://github.com/bcurran3/ChocolateyPackages/tree/master/asteroids + + + + + diff --git a/automatic/asteroids/tools/LICENSE.txt b/automatic/asteroids/tools/LICENSE.txt new file mode 100644 index 000000000..d6b19b0a9 --- /dev/null +++ b/automatic/asteroids/tools/LICENSE.txt @@ -0,0 +1,7 @@ +==================== Crozza Games LICENSE.TXT ==================== + +This game by PJ Crossley/Crozza Games is freely distributable copyrighted freeware. + +This license is stated at http://pjsfreeware.synthasite.com/ and says "Feel free to distribute any of my free games on your site as long as you do not charge for them and a link to my site would be nice." + +==================== Crozza Games LICENSE.TXT ==================== \ No newline at end of file diff --git a/automatic/asteroids/tools/VERIFICATION.txt b/automatic/asteroids/tools/VERIFICATION.txt new file mode 100644 index 000000000..a2390ed83 --- /dev/null +++ b/automatic/asteroids/tools/VERIFICATION.txt @@ -0,0 +1,5 @@ +==================== Crozza Games VERIFICATION.TXT ==================== + +This binary was directly downloaded and packaged up by bcurran3 from http://pjsfreeware.synthasite.com/. Checksums were manually created. + +==================== Crozza Games VERIFICATION.TXT ==================== diff --git a/automatic/asteroids/tools/chocolateyinstall.ps1 b/automatic/asteroids/tools/chocolateyinstall.ps1 new file mode 100644 index 000000000..f80d197cb --- /dev/null +++ b/automatic/asteroids/tools/chocolateyinstall.ps1 @@ -0,0 +1,22 @@ +$packageName = 'asteroids' +$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" +$url = "$toolsDir\asteroids.zip" +$checksum = 'CB994A1700249149D713B1833C6B83A0D8B3716265E9453FD8328894D55E34EB' +$Shortcut = 'Asteroids.lnk' +$ProgramEXE = 'asteroids.exe' + +$packageArgs = @{ + packageName = $packageName + unzipLocation = $toolsDir + fileType = 'ZIP' + url = $url + checksum = $checksum + checksumType = 'sha256' + } + +Install-ChocolateyZipPackage @packageArgs + +Install-ChocolateyShortcut -shortcutFilePath "$env:Public\Desktop\$Shortcut" -targetPath "$toolsDir\$ProgramEXE" -WorkingDirectory "$toolsDir" +Install-ChocolateyShortcut -shortcutFilePath "$env:ProgramData\Microsoft\Windows\Start Menu\Programs\$Shortcut" -targetPath "$toolsDir\$ProgramEXE" + +Remove-Item $url | out-null \ No newline at end of file diff --git a/automatic/asteroids/tools/chocolateyuninstall.ps1 b/automatic/asteroids/tools/chocolateyuninstall.ps1 new file mode 100644 index 000000000..e0279a651 --- /dev/null +++ b/automatic/asteroids/tools/chocolateyuninstall.ps1 @@ -0,0 +1,6 @@ +$packageName = 'asteroids' +$Shortcut = 'Asteroids.lnk' + +remove-item "$env:Public\Desktop\$Shortcut" -Force -ErrorAction 'SilentlyContinue' +remove-item "$env:ProgramData\Microsoft\Windows\Start Menu\Programs\$Shortcut" -Force -ErrorAction 'SilentlyContinue' +