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