Skip to content

Commit

Permalink
Added chocolatey package source
Browse files Browse the repository at this point in the history
  • Loading branch information
houmain committed Jul 16, 2024
1 parent 35e1b39 commit 3e80172
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
39 changes: 39 additions & 0 deletions extra/chocolatey/spright.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Do not remove this test for UTF-8: if “Ω” doesn’t appear as greek uppercase omega letter enclosed in quotation marks, you should use an editor that supports UTF-8, not this one. -->
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>spright</id>
<version>3.5.0</version>
<packageSourceUrl>https://github.com/houmain/spright/blob/main/extra/chocolatey</packageSourceUrl>
<owners>houmain</owners>

<title>Spright</title>
<authors>Albert Kalchmair</authors>
<projectUrl>https://github.com/houmain/spright</projectUrl>
<iconUrl>https://raw.githubusercontent.com/houmain/spright/main/extra/icon.png</iconUrl>
<licenseUrl>https://raw.githubusercontent.com/houmain/spright/main/LICENSE</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<bugTrackerUrl>https://github.com/houmain/spright/issues</bugTrackerUrl>
<tags>spright productivity automation cross-platform accessibility keyboard-layout keyboard-shortcuts context-awareness</tags>
<summary>spright is more than a simple sprite sheet packer</summary>
<description>
An advanced sprite sheet packer and sprite annotator.

Its key ideas are:

- Keep all the information about the sprites and tiles, required for being efficiently consumable by the game engine, in a plain text file.
- Instead of forcing one to split each sprite in a separate file and later address them using the filename, it should be possible to keep them in whatever format they are most conveniently to handle.
- It should be possible to give each sprite an ID, group them (e.g. for animations) or further annotate them for game specific purposes.
- The tool should be able to deduce obvious information from the input images and assist with completing the required information.

While any text editor can be used for writing the input definition, the [Visual Studio Code Extension](https://github.com/houmain/spright-vscode) can greatly simplify the process.

Also have a look at the [spright test suite](https://github.com/houmain/spright-test-suite) to get an impression of the functionality.

</description>
<releaseNotes>See https://github.com/houmain/spright/releases</releaseNotes>
</metadata>
<files>
<file src="tools\**" target="tools" />
</files>
</package>
5 changes: 5 additions & 0 deletions extra/chocolatey/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

$url64 = "https://github.com/houmain/spright/releases/download/3.5.0/spright-3.5.0-win64.zip"
$checksum64 = "5909644681DE388A6DCD7F7623CE6AB154D2B86906AA13B2085050309CB0A00E"

Install-ChocolateyZipPackage -PackageName "spright" -UnzipLocation "$(Split-Path -Parent $MyInvocation.MyCommand.Definition)" -Url64bit "$url64" -ChecksumType "sha256" -Checksum64 $checksum64
Binary file added extra/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3e80172

Please sign in to comment.