velopack
Version:
Velopack is an installation and auto-update framework for cross-platform applications. It's opinionated, extremely easy to use with zero config needed. With just one command you can be up and running with an installable application, and it's lightning fas
30 lines (29 loc) • 746 B
TypeScript
/**
* VelopackLocator provides some utility functions for locating the current app important paths (eg. path to packages, update binary, and so forth).
*/
export type VelopackLocatorConfig = {
/**
* The root directory of the current app.
*/
RootAppDir: string;
/**
* The path to the Update.exe binary.
*/
UpdateExePath: string;
/**
* The path to the packages' directory.
*/
PackagesDir: string;
/**
* The current app manifest.
*/
ManifestPath: string;
/**
* The directory containing the application's user binaries.
*/
CurrentBinaryDir: string;
/**
* Whether the current application is portable or installed.
*/
IsPortable: boolean;
};