Make it work in strict confinement

parent 797e0d36
/parts/*
!/parts/plugins/
/parts/
/prime/
/snap/
/stage/
......
......@@ -6,7 +6,7 @@ Data files for packaging the Solarus [Snap](https://snapcraft.io/) image.
* First [install snapd](https://docs.snapcraft.io/installing-snapd/6735) and snapcraft.
* To build, simply run `snapcraft`.
* To test your build, run: `sudo snap install solarus_*.snap --devmode --dangerous`
* To test your build, run: `sudo snap install solarus_*.snap --dangerous`
You should now have icons in your applications menu for the Quest Editor and Launcher programs.
Alternatively, run them from the terminal with `snap run solarus.launcher` and `snap run solarus.quest-editor`.
......
......@@ -13,9 +13,19 @@ apps:
launcher:
command: desktop-launch solarus-launcher
desktop: share/applications/solarus.desktop
plugs:
- home
- opengl
- pulseaudio
- x11
quest-editor:
command: desktop-launch solarus-quest-editor
desktop: share/applications/solarus-quest-editor.desktop
plugs:
- home
- opengl
- pulseaudio
- x11
parts:
launcher:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment