From f70abf1628223e1cc0d687471ad36b4a2ee66ebe Mon Sep 17 00:00:00 2001 From: Mike Maietta Date: Mon, 4 Jul 2022 12:45:08 -0700 Subject: [PATCH] fix: regenerating docs and schema --- docs/configuration/snap.md | 5 ++++- packages/app-builder-lib/scheme.json | 9 ++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/configuration/snap.md b/docs/configuration/snap.md index e4a0a348ed..df3fb449dc 100644 --- a/docs/configuration/snap.md +++ b/docs/configuration/snap.md @@ -28,7 +28,7 @@ The top-level [snap](configuration.md#Configuration-snap) key contains set of op

hooks = build/snap-hooks String | “undefined” - The hooks directory, relative to build (build resources directory).

  • -

    plugs Array<String | SnapOptions.PlugDescriptor> - The list of plugs. Defaults to ["desktop", "desktop-legacy", "home", "x11", "unity7", "browser-support", "network", "gsettings", "audio-playback", "pulseaudio", "opengl"].

    +

    plugs Array<String | SnapOptions.PlugDescriptor> - The list of plugs. Defaults to ["desktop", "desktop-legacy", "home", "x11", "wayland", "unity7", "browser-support", "network", "gsettings", "audio-playback", "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.

    Additional attributes can be specified using object instead of just name of plug: [ { "browser-sandbox": { "interface": "browser-support", "allow-sandbox": true }, }, "another-simple-plug-name" ]

  • @@ -60,6 +60,9 @@ The top-level [snap](configuration.md#Configuration-snap) key contains set of op
  • compression “xz” | “lzo” | “undefined” - Sets the compression type for the snap. Can be xz, lzo, or null.

  • +
  • +

    allowNativeWayland Boolean | “undefined” - Allow running the program with native wayland support with --ozone-platform=wayland. Disabled by default because of this issue in older Electron/Snap versions: https://github.com/electron-userland/electron-builder/issues/4007

    +
  • Inherited from CommonLinuxOptions: