Class IntegrateApp
- Namespace
- ZeroInstall.Commands.Desktop
- Assembly
- 0install.dll
Add an application to the AppList (if missing) and integrate it into the desktop environment.
public class IntegrateApp : AppCommand
- Inheritance
-
IntegrateApp
- Inherited Members
Constructors
IntegrateApp(ICommandHandler)
Common base class for commands that manage an AppList.
public IntegrateApp(ICommandHandler handler)
Parameters
handler
ICommandHandler
Fields
AltName
public const string AltName = "integrate-app"
Field Value
AltName2
public const string AltName2 = "desktop"
Field Value
Name
public const string Name = "integrate"
Field Value
Properties
Description
A short description of what this command does.
public override string Description { get; }
Property Value
Usage
The additional arguments to be displayed after the command name in the help text.
public override string Usage { get; }
Property Value
Methods
ExecuteHelper()
Template method that performs the actual operation.
protected override ExitCode ExecuteHelper()
Returns
- ExitCode
The exit status code to end the process with.
GetAppEntry(IIntegrationManager, ref FeedUri)
Finds an existing AppEntry or creates a new one for a specific interface URI.
protected override AppEntry GetAppEntry(IIntegrationManager integrationManager, ref FeedUri interfaceUri)
Parameters
integrationManager
IIntegrationManagerManages desktop integration operations.
interfaceUri
FeedUriThe interface URI to create an AppEntry for. Will be updated if ReplacedBy is set and accepted by the user.