-
Notifications
You must be signed in to change notification settings - Fork 1
Environment Variables
Dzmitry Vensko edited this page Jan 16, 2018
·
2 revisions
Certain parameters of Pint can be overriden with the following environment variables. All paths must include names, therefore they can be renamed as well.
- PINT_APP_DIR - absolute path to the apps directory.
- PINT_DIST_DIR - absolute path to the dist directory.
-
PINT_SHIM_DIR - absolute path to the shims directory. If changed, recreate shim files with
pint shims. - PINT_DEPS_DIR - absolute path to the deps directory.
- PINT_DB - comma-separated list of file paths and URLs to .ini files with app definitions.
- PINT_USER_AGENT - Pint's user agent.
- PINT_CACHE_TTL - remote sources are updated once in %PINT_CACHE_TTL% hours (24 by default), set to 0 to disable the cache.
The easiest way to override environment variables is to use a proxy .bat file with your parameters, something like this:
@echo off
SET "PINT_APP_DIR=D:\Apps"
call "D:\pint.cmd" %*