Interface: AppImageOptions
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.
Extends
Properties
artifactName?
readonlyoptionalartifactName?:string|null
The artifact file name template.
Inherited from
TargetSpecificOptions.artifactName
category?
readonlyoptionalcategory?:string|null
The application category.
Inherited from
compression?
readonlyoptionalcompression?:"xz"|"gzip"|"zstd"|null
The compression algorithm passed to the AppImage build tool.
FUSE2 toolset ("0.0.0" or unset): only "xz" and "gzip" are forwarded
to mksquashfs (-comp <value>); "xz" additionally passes -Xdict-size 100% -b 1048576.
"zstd", null, and unset fall through to the root-level compression option:
"maximum"→"xz"- anything else → flag omitted (mksquashfs defaults to gzip)
Static-runtime toolsets (>= 1.0.0): "gzip" and "zstd" are forwarded
directly. "xz" is mapped to "zstd" (nearest supported equivalent). null
or unset falls through to the root-level compression option:
"store"→"gzip""normal"/"maximum"/ unset →"zstd"
description?
readonlyoptionaldescription?:string|null
As description from application package.json, but allows you to specify different for Linux.
Inherited from
CommonLinuxOptions.description
desktop?
readonlyoptionaldesktop?:LinuxDesktopFile|null
The Desktop file
Inherited from
executableArgs?
readonlyoptionalexecutableArgs?:string[] |null
The executable parameters. Pass to executableName
Inherited from
CommonLinuxOptions.executableArgs
license?
readonlyoptionallicense?:string|null
The path to EULA license file. Defaults to license.txt or eula.txt (or uppercase variants). Only plain text is supported.
mimeTypes?
readonlyoptionalmimeTypes?: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.
Inherited from
publish?
optionalpublish?:Publish
Inherited from
synopsis?
readonlyoptionalsynopsis?:string|null
The short description.