Skip to content

Commit

Permalink
snap: set confinement to strict (#105)
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Fenoll <[email protected]>
  • Loading branch information
fenollp authored Oct 4, 2020
1 parent 4ac5504 commit 3a8bac1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
4 changes: 2 additions & 2 deletions snap/gui/voidstar.desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Desktop Entry]
Type=Application
Version=1.14.238936273
Version=v1.30.0
Name=voidstar
Comment=Launch voidstar
Exec=bin/voidstar
Exec=voidstar
Terminal=true
19 changes: 9 additions & 10 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: voidstar
version: git
version: v1.30.0 # FIXME: 'git'
summary: void* casts files onto 2D/3D colored spaces for your mind blowing needs # 79 char long summary
description: |
Usage:
Expand Down Expand Up @@ -37,8 +37,7 @@ description: |
grade: stable
base: core20
# confinement: strict
confinement: devmode
confinement: strict

apps:
voidstar:
Expand All @@ -48,13 +47,13 @@ apps:
LD_LIBRARY_PATH: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/dri:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/mesa:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/mesa-gl:$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/xorg
LIBGL_DRIVERS_PATH: $SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/dri
plugs:
- home # to read files in $HOME
- network # to read URLs
- opengl # to access rendering hardware
- optical-drive # to read CDs
- removable-media # to read USB keys
- wayland
- x11 # to create windows
- home # to read files in $HOME
- network # to read URLs
- opengl # to access rendering hardware
- optical-drive # to read CDs
- removable-media # to read USB keys
- wayland
- x11 # to create windows

parts:
voidstar:
Expand Down

0 comments on commit 3a8bac1

Please sign in to comment.