Skip to main content

IVelopackLocator Interface

Namespace: Velopack.Locators
Assembly: Velopack
Assembly Version: 0.0.626+6f1a94e

An interface describing where Velopack can find key folders and files.

public interface IVelopackLocator

Properties

NameDescription
AppContentDirThe directory in which versioned application files are stored.
AppIdThe unique application Id. This is used in various app paths.
AppTempDirThe temporary directory for this application.
ChannelThe release channel this package was built for.
CurrentlyInstalledVersionThe currently installed version of the application, or null if the app is not installed.
IsPortableA flag indicating if this is a portable build, and that the settings should be self-contained in the package. On Windows, this is true for portable builds, and false for non-portable builds which were installed by Setup.exe On OSX and Linux, this is always false, because settings and application files should be stored in the user's home directory.
PackagesDirThe directory in which nupkg files are stored for this application.
RootAppDirThe root directory of the application. On Windows, this folder contains all the application files, but that may not be the case on other operating systems.
ThisExeRelativePathThe path from AppContentDir to this executable.
UpdateExePathThe path to the current Update.exe or similar on other operating systems.

Methods

NameDescription
GetLatestLocalFullPackage()Finds latest .nupkg file in the PackagesDir or null if not found.
GetLocalPackages()Finds .nupkg files in the PackagesDir and returns a list of ReleaseEntryName objects.
GetOrCreateStagedUserId()Unique identifier for this user which is used to calculate whether this user is eligible for staged roll outs.

Documentation generated by MdDocs