Skip to main content

Interface: CommonLinuxOptions

Desktop-entry and runtime fields shared by all Linux targets and all snap core strategies.

Fields set under linux.* in your build config (i.e. on LinuxConfiguration) are automatically cascaded into each snap core's options by LinuxTargetHelper.getSnapCore(). You do not need to duplicate them under snapcraft.core24.*, snapcraft.core22.*, etc. Per-core values always take precedence when both are set.

Extended by

Properties

category?

readonly optional category?: string | null

The application category.


description?

readonly optional description?: string | null

As description from application package.json, but allows you to specify different for Linux.


desktop?

readonly optional desktop?: LinuxDesktopFile | null

The Desktop file


executableArgs?

readonly optional executableArgs?: string[] | null

The executable parameters. Pass to executableName


mimeTypes?

readonly optional mimeTypes?: string[] | null

The mime types in addition to specified in the file associations. Use it if you don't want to register a new mime type, but reuse existing.


synopsis?

readonly optional synopsis?: string | null

The short description.