IVelopackLocator Interface
Namespace: Velopack.Locators
Assembly: Velopack
Assembly Version: 0.0.942+a011233
An interface describing where Velopack can find key folders and files.
public interface IVelopackLocator
Properties
Name | Description |
---|---|
AppContentDir | The directory in which versioned application files are stored. |
AppId | The unique application Id. This is used in various app paths. |
AppTempDir | The temporary directory for this application. |
Channel | The release channel this package was built for. |
CurrentlyInstalledVersion | The currently installed version of the application, or null if the app is not installed. |
IsPortable | A 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. |
PackagesDir | The directory in which nupkg files are stored for this application. |
RootAppDir | The 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. |
ThisExeRelativePath | The path from AppContentDir to this executable. |
UpdateExePath | The path to the current Update.exe or similar on other operating systems. |
Methods
Name | Description |
---|---|
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