summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJose Dapena Paz <jdapena@igalia.com>2022-05-31 17:21:40 +0200
committerJose Dapena Paz <jdapena@igalia.com>2022-05-31 17:22:29 +0200
commit48a4f02ac1415ee0c57807784c215c72e94eefd4 (patch)
treeb6cdf9ec20ce20fd3f213a29d600747b5c7de478 /src
parenteb3049cbe8a3d22cc99429b90641e97203c9ac4d (diff)
Use appinfo.json instead of config.xml
Bug-AGL: SPEC-4248, SPEC-4251 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com> Change-Id: Ic0714070f27e97af0917de445de4332a4f79f11c
Diffstat (limited to 'src')
-rw-r--r--src/appinfo.json11
-rw-r--r--src/config.xml22
2 files changed, 11 insertions, 22 deletions
diff --git a/src/appinfo.json b/src/appinfo.json
new file mode 100644
index 0000000..26d9191
--- /dev/null
+++ b/src/appinfo.json
@@ -0,0 +1,11 @@
+{
+ "id": "webapps-mixer",
+ "title": "MIXER",
+ "description": "HTML5 MIXER demo",
+ "version": "0.0.0",
+ "vendor": "Igalia, S.L.",
+ "type": "web",
+ "main": "index.html",
+ "uiRevision": "2",
+ "icon": "icon.svg"
+}
diff --git a/src/config.xml b/src/config.xml
deleted file mode 100644
index 38d336d..0000000
--- a/src/config.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" id="webapps-mixer" version="0.0.0">
- <name>MIXER</name>
- <icon src="icon.svg"/>
- <content src="index.html" type="text/html"/>
- <description>HTML5 MIXER demo</description>
- <author>Igalia, S.L.</author>
- <license>APL 2.0</license>
- <feature name="urn:AGL:widget:required-permission">
- <param name="urn:AGL:permission::public:no-htdocs" value="required" />
- <param name="urn:AGL:permission::public:display" value="required" />
- <param name="urn:AGL:permission::public:audio" value="required" />
- <param name="urn:AGL:permission:afm:system:widget" value="required" /> <!-- list available apps -->
- <param name="urn:AGL:permission:afm:system:runner" value="required" /> <!-- run other apps -->
- <param name="urn:AGL:permission::public:applications:read" value="required" /> <!-- get app icons -->
- </feature>
- <feature name="urn:AGL:widget:required-api">
- <param name="homescreen" value="ws" />
- <param name="afm-main" value="ws" />
- <param name="audiomixer" value="ws" />
- </feature>
-</widget>