2.0 KiB
2.0 KiB
Cmder Installer
This repository was created as a wrapper around my favorite terminal emulator Cmder.
The goal is to distribute it to winget and make it available with the new Windows Package Manager. Cmder is a portable application and to create the MSIX package, we needed to create an installer to include the vendor resources.
Instructions
Prerequisites
- The latest release archive of Cmder.
- NSIS installed.
Steps for Installer
- Clone the repository
- Create the following directory structure.
- .\mini\Versions\[FULL_VERSION_NUMBER] e.g. 1.13.8.1106
- .\full\Versions\[FULL_VERSION_NUMBER] e.g. 1.13.8.1106
- Download the release to the correct version path and extract here.
- Edit VERSION Variable in the .nsi scripts. It's the first variable in the each file.
- Launch NSIS.
- Compile the scripts by navigating to the cloned repo.
- Create a release in repository.
- Installer artifacts from script compilation.
Steps to Publish Winget Manifest
- Create a new folder for version number under each installer payload e.g. (x.x.x.x).
- Copy previous release manifests to new release folder.
- Edit PackageVersion, InstallerUrl and hash with new release number.
winget has -f [FILENAME]
- Validate manifest with validate.
winget validate --manifest [FILENAME]
- Create new branch for release.
- Add release manifests.
- Push changes to fork.
- Squash merge into forked master.
- Create pull request in winget-pkg upstream.