Table of Contents

Class AppAlias

Namespace
ZeroInstall.DesktopIntegration.Unix
Assembly
ZeroInstall.DesktopIntegration.dll

Contains control logic for applying AppAlias on Unix systems.

public static class AppAlias
Inheritance
AppAlias
Inherited Members

Methods

Create(FeedTarget, string?, string, IIconStore, bool)

Creates an application alias in the current system.

public static void Create(FeedTarget target, string? command, string aliasName, IIconStore iconStore, bool machineWide)

Parameters

target FeedTarget

The application being integrated.

command string

The command within target the alias shall point to; can be null.

aliasName string

The name of the alias to be created.

iconStore IIconStore

Stores icon files downloaded from the web as local files.

machineWide bool

Create the alias machine-wide instead of just for the current user.

Exceptions

OperationCanceledException

The user canceled the task.

IOException

A problem occurred while writing to the filesystem.

WebException

A problem occurred while downloading additional data (such as icons).

UnauthorizedAccessException

Write access to the filesystem is not permitted.

Remove(string, bool)

Removes an application alias from the current system.

public static void Remove(string aliasName, bool machineWide)

Parameters

aliasName string

The name of the alias to be removed.

machineWide bool

The alias was created machine-wide instead of just for the current user.

Exceptions

IOException

A problem occurred while writing to the filesystem.

UnauthorizedAccessException

Write access to the filesystem is not permitted.