https://github.com/imagej/chocolatey-packages
https://github.com/imagej/chocolatey-packages
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/imagej/chocolatey-packages
- Owner: imagej
- Created: 2016-07-18T20:06:36.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-09-09T19:02:56.000Z (almost 10 years ago)
- Last Synced: 2025-02-22T07:51:29.273Z (over 1 year ago)
- Language: PowerShell
- Homepage: https://chocolatey.org/packages/imagej
- Size: 13.7 KB
- Stars: 2
- Watchers: 33
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Chocolatey Package
Welcome to the Chocolatey package for ImageJ.
## Frequently Updated
Every package version requires the following changes, at least, in the nuspec
and probably in the install/uninstall scripts:
* Version
* Release notes (if this is a version-specific URL)
* URL
* Checksum
You can get the checksum using the built-in PowerShell cmdlet. The Chocolatey
default is MD5, but a stronger/longer checksum is preferred. PowerShell defaults
to SHA256, which is fine.
```
PS> Get-FileHash '.\ij150-win-nojre.zip'
Algorithm Hash Path
--------- ---- ----
SHA256 AAAAABBBBBCCCCCDDDDDEEEEEFFFFFGGGGGHHHHHIIIIIJJJJJKKKKKLLLLLMMMM C:\Users\anthony\Downloads\ij...
```
## Infrequently Updated
The package icon is a bit of a pain to update. Update the icon by overwriting
the file in this repository. It may help to run it through an optimizer.
```
PS> pngout .\imagej.png
```
Commit and push this. We need to get the canonical URL for this file before we
can update or publish the package.
1. On GitHub, navigate to the file.
2. Press 'y' to view the [canonical URL](https://help.github.com/articles/getting-permanent-links-to-files/).
3. Click the "Raw" button to view the raw file.
4. Copy this URL into the field at http://rawgit.com.
5. Use the "production" URL in the package.
## Pack and Publish
Pack.
```
PS> choco pack .\imagej\imagej.nuspec
```
Publish.
```
PS> choco push .\imagej.x.y.z.nupkg
```