add instructions (#3)

This commit is contained in:
Eric D. Rohler 2021-06-18 12:21:52 -04:00 committed by GitHub
parent 9c24f964fc
commit ddd5e800ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

27
readme.md Normal file
View File

@ -0,0 +1,27 @@
# Cmder Installer
This repository was created as a wrapper around my favorite terminal emulator [Cmder](https://github.com/cmderdev/cmder).
The goal is to distribute it to [winget](https://docs.microsoft.com/en-us/windows/package-manager/) 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
1. The [latest release](https://github.com/cmderdev/cmder/releases) archive of Cmder.
1. [NSIS](https://nsis.sourceforge.io/Main_Page) installed.
### Steps
1. Clone the repository
1. Create the following directory structure.
1. .\mini\Versions\[FULL_VERSION_NUMBER] e.g. 1.13.8.1106
1. .\full\Versions\[FULL_VERSION_NUMBER] e.g. 1.13.8.1106
1. Download the release to the correct version path and extract here.
1. Edit VERSION Variable in the .nsi scripts. It's the first variable in the each file.
1. [Cmder-mini.nsi](https://github.com/edrohler/cmder-installer/blob/main/installer/mini/Cmder-mini.nsi)
1. [Cmder-full-msi](https://github.com/edrohler/cmder-installer/blob/main/installer/full/Cmder-full.nsi)
1. Launch NSIS.
1. Compile the scripts by navigating to the cloned repo.
**More to come...**