OsxVelopackLocator class
Namespace: Velopack.Locators
The default for OSX. All application files will remain in the '.app'. All additional files (log, etc) will be placed in a temporary directory.
public class OsxVelopackLocator : VelopackLocator, IVelopackLocator
Inherits: VelopackLocator
Implements: IVelopackLocator
Constructors
| Constructor | Summary |
|---|---|
OsxVelopackLocator | Creates a new OsxVelopackLocator and auto-detects the |
OsxVelopackLocator(processImpl, customLog)
public OsxVelopackLocator(IProcessImpl? processImpl, IVelopackLogger? customLog)
Creates a new OsxVelopackLocator and auto-detects the
app information from metadata embedded in the .app.
Parameters
| Name | Type | Description |
|---|---|---|
processImpl | IProcessImpl | |
customLog | IVelopackLogger |
Properties
| Property | Summary |
|---|---|
AppId | The unique application Id. This is used in various app paths. |
RootAppDir | The root directory of the application. On Windows, this folder contains all |
UpdateExePath | The path to the current Update.exe or similar on other operating systems. |
Process | Provides an abstraction for dealing with the dotnet Process API. This is used to start processes and |
CurrentlyInstalledVersion | The currently installed version of the application, or null if the app is not installed. |
AppContentDir | The directory in which versioned application files are stored. |
AppTempDir | The temporary directory for this application. |
PackagesDir | The directory in which nupkg files are stored for this application. |
Channel | The release channel this package was built for. |
AppId
public override string? AppId { get; }
The unique application Id. This is used in various app paths.
RootAppDir
public override string? RootAppDir { get; }
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.
UpdateExePath
public override string? UpdateExePath { get; }
The path to the current Update.exe or similar on other operating systems.
Process
public override IProcessImpl Process { get; }
Provides an abstraction for dealing with the dotnet Process API. This is used to start processes and get information about the current process.
CurrentlyInstalledVersion
public override SemanticVersion? CurrentlyInstalledVersion { get; }
The currently installed version of the application, or null if the app is not installed.
AppContentDir
public override string? AppContentDir { get; }
The directory in which versioned application files are stored.
AppTempDir
public override string? AppTempDir { get; }
The temporary directory for this application.
PackagesDir
public override string? PackagesDir { get; }
The directory in which nupkg files are stored for this application.
Channel
public override string? Channel { get; }
The release channel this package was built for.
Generated from Velopack 1.1.1