~pat-mcgowan/+junk/testdemo

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: testdemo
version: '1.0'
summary: Simple web view loading shared content
description: A lightweight webapp container tailored for Ubuntu, based on the Oxide browser engine and using the Ubuntu UI components.
grade: devel
confinement: strict

apps:
  testdemo:
    command: webapp-launcher $SNAP/demo-content/index.html
    plugs:
      - browser-sandbox
      - camera
      - mir
      - network
      - network-bind
      - opengl
      - pulseaudio
      - screen-inhibit-control
      - unity7
    
plugs:
  browser-sandbox:
    interface: browser-support
    allow-sandbox: false
  platform:
    interface: content
    content: ubuntu-app-platform1
    target: ubuntu-app-platform
    default-provider: ubuntu-app-platform

parts:
  my-content:
    plugin: dump
    source: .
  webapp-container:
    after: [desktop-ubuntu-app-platform,webapp-helper]
    plugin: nil