The top-level snap key contains set of options instructing electron-builder on how it should build Snap.

  • confinement = strict "devmode" | "strict" | "classic" - The type of confinement supported by the snap.
  • summary String - The 78 character long summary. Defaults to productName.
  • grade = stable "devel" | "stable" - The quality grade of the snap. It can be either devel (i.e. a development version of the snap, so not to be published to the “stable” or “candidate” channels) or “stable” (i.e. a stable release or release candidate, which can be released to all channels).
  • assumes Array<String> - The list of features that must be supported by the core in order for this snap to install.
  • buildPackages Array<String> - The list of debian packages needs to be installed for building this snap.
  • stagePackages Array<String> - The list of Ubuntu packages to use that are needed to support the app part creation. Like depends for deb. Defaults to ["libnotify4", "libappindicator1", "libxtst6", "libnss3", "libxss1", "fontconfig-config", "gconf2", "libasound2", "pulseaudio"].

    If list contains default, it will be replaced to default list, so, ["default", "foo"] can be used to add custom package foo in addition to defaults.

  • plugs Array<String> - The list of plugs. Defaults to ["home", "x11", "unity7", "browser-support", "network", "gsettings", "pulseaudio", "opengl"].

    If list contains default, it will be replaced to default list, so, ["default", "foo"] can be used to add custom plug foo in addition to defaults.

  • after Array<String> - Specifies any parts that should be built before this part. Defaults to ["desktop-only""].

    If list contains default, it will be replaced to default list, so, ["default", "foo"] can be used to add custom parts foo in addition to defaults.

  • ubuntuAppPlatformContent String - Specify ubuntu-app-platform1 to use ubuntu-app-platform. Snap size will be greatly reduced, but it is not recommended for now because "the snaps must be connected before running uitk-gallery for the first time".

Inherited from CommonLinuxOptions:

Inherited from TargetSpecificOptions:

results matching ""

    No results matching ""