Chocolatey Package: Insomnia (Native)
Install Chocolatey, and run the following command to install the latest approved version on the Chocolatey Community Repository:
choco install insomnia
Alternatively, the packages as published on the Chocolatey Community Repository will also be mirrored on this repository's Releases page. The nupkg
can be installed from the current directory as follows:
choco install insomnia -source="'.'"
Install Chocolatey and the Chocolatey Automatic Package Updater Module, then clone this repository.
Once cloned, simply run build.ps1
. The ZIP archive is intentionally untracked to avoid bloating the repository, so the script will download the Insomnia portable ZIP archive from the mirror created by this package (to ensure reproducibility in case of an older version), then packs everything together.
A successful build will create insomnia.w.x.y.z.nupkg
, where w.x.y.z
should be the Nuspec's version
value at build time.
Note that Chocolatey package builds are non-deterministic. Consequently, an independently built package will fail a checksum validation against officially published packages.
This package has an update script implemented with the Chocolatey Automatic Package Updater Module, but the project does not appear to be actively maintained anymore, so it is not included with my normally scheduled update runs. If the project has a new release, please open an issue.
AU expects the parent directory that contains this repository to share a name with the Nuspec (insomnia
). Your local repository should therefore be cloned accordingly:
git clone [email protected]:brogers5/chocolatey-package-insomnia.git insomnia
Alternatively, a junction point can be created that points to the local repository (preferably within a repository adopting the AU packages template):
mklink /J insomnia ..\chocolatey-package-insomnia
Once created, simply run update.ps1
from within the created directory/junction point. Assuming all goes well, all relevant files should change to reflect the latest version available. This will also build a new package version using the modified files.
Before submitting a pull request, please test the package using the Chocolatey Testing Environment first.