Ubuntu Pastebin

Paste from ogra at Wed, 16 Mar 2016 13:10:27 +0000

Download as text
 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
39
app.manifest:

{
    "description": "This is my App",
    "framework": "ubuntu-sdk-15.04",
    "hooks": {
        "my-app": {
            "apparmor": "app.json",
            "desktop": "app.desktop"
        }
    },
    "maintainer": "Oliver Grawert <ogra@ubuntu.com>",
    "name": "my-app.ogra",
    "title": "MY App",
    "version": "0.1"
}

app.json:

{
	"template": "ubuntu-webapp",
    "policy_groups": [
        "networking",
        "webview",
        "audio",
	"location"
    ],
    "policy_version": 1.3
}

app.desktop:

[Desktop Entry]
Name=My App
Type=Application
Icon=icon.png
Exec=webapp-container  --webappUrlPatterns=https?://*.mydomain.com/* http://www.mydomain.com
Terminal=false
X-Ubuntu-Touch=true
Download as text