registry

Registry

The registry file is a JSON document with a single top-level JSON object which follows the schema described in just-install-v4.schema.json. This document roughly describes the format of the registry file for humans :smile:

There are no examples in this document, the registry file itself is a living example of what you can do.

Top Level

The top-level JSON object must contain two keys:

Package Entry

Each entry is a JSON object that must contain at least the following two keys:

The following key is optional:

Installer

This JSON object must contain at least the following two keys:

Shims

Shims are a way to easily add executables to the %PATH%. They are created only if the user has installed exeproxy (either through just-install itself or manually) and only if the package entry specifies some shims to create.

Take, for example, the Go entry, which will create three executables called go.exe, godoc.exe and gofmt.exe under %SystemDrive%\Shims which will forward arguments to the original executable.

This way, users do not need to add a directory for each installed program to their %PATH% since they can just add %SystemDrive%\Shims.

Placeholders

In some places, you can use the following placeholders: