electron-userland / electron-installer-snap

Build Snap packages for Electron applications
Apache License 2.0
50 stars 17 forks source link

[Feature] Support custom layouts to snap yaml #145

Open VerteDinde opened 2 years ago

VerteDinde commented 2 years ago

Layouts are a feature for strictly confined snaps that modify the execution environment.

With layouts, you can make elements in $SNAP, $SNAP_DATA, $SNAP_COMMON accessible from locations such as /usr, /var and /etc. This helps when using pre-compiled binaries and libraries that expect to find files and directories outside of locations referenced by $SNAP or $SNAP_DATA.

Given our existing support for custom plugs and slots, we can use a similar framework to optionally add layouts if they are provided by the user. Layouts do not need to be included by default.

Layouts are only supported on core18 and higher.

welcome[bot] commented 2 years ago

👋 Thanks for opening your first issue here! If you have a question about using electron-installer-snap, read the support docs. If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. Development and issue triage is community-driven, so please be patient and we will get back to you as soon as we can.

To help make it easier for us to investigate your issue, please follow the contributing guidelines.