LinuxVelopackLocator 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 LinuxVelopackLocator : VelopackLocator, IVelopackLocator
Inherits: VelopackLocator
Implements: IVelopackLocator
Constructors
| Constructor | Summary |
|---|---|
LinuxVelopackLocator | Creates a new OsxVelopackLocator and auto-detects the |
LinuxVelopackLocator(processImpl, customLog)
public LinuxVelopackLocator(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. |
Channel | The release channel this package was built for. |
AppTempDir | The temporary directory for this application. |
PackagesDir | The directory in which nupkg files are stored for this application. |
PersistentTempDir | /var/tmp/{velopack}/{appid}, for storing app specific files which need to be preserved. |
PersistentVelopackDir | A pointer to /var/tmp/{velopack}, a location on linux which is semi-persistent. |
AppImagePath | File path of the .AppImage which mounted and ran this application. |
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.
Channel
public override string? Channel { get; }
The release channel this package was built for.
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.
PersistentTempDir
public string? PersistentTempDir { get; }
/var/tmp/{velopack}/{appid}, for storing app specific files which need to be preserved.
PersistentVelopackDir
public string? PersistentVelopackDir { get; }
A pointer to /var/tmp/{velopack}, a location on linux which is semi-persistent.
AppImagePath
public string? AppImagePath { get; }
File path of the .AppImage which mounted and ran this application.
Generated from Velopack 1.1.1