aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJose Dapena Paz <jdapena@igalia.com>2022-05-23 12:46:56 +0200
committerJose Dapena Paz <jdapena@igalia.com>2022-05-23 12:46:56 +0200
commit58832e99bcd0580358d479222c2b5d42ee79bfcf (patch)
tree84863a6a377012112afc47b092d45a2c6e0f52e4 /src
parente71b1439448474842d5bd1d1ba77d5751f5d4420 (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: I73c297eae995e75e5c3a381297447118d8bef4ac
Diffstat (limited to 'src')
-rw-r--r--src/appinfo.json11
-rw-r--r--src/config.xml21
2 files changed, 11 insertions, 21 deletions
diff --git a/src/appinfo.json b/src/appinfo.json
new file mode 100644
index 0000000..5a66baf
--- /dev/null
+++ b/src/appinfo.json
@@ -0,0 +1,11 @@
+{
+ "id": "webapps-dashboard",
+ "title": "DASHBOARD",
+ "description": "HTML5 Dashboard 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 c1bb8a3..0000000
--- a/src/config.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" id="webapps-dashboard" version="0.0.0">
- <name>DASHBOARD</name>
- <icon src="icon.svg"/>
- <content src="index.html" type="text/html"/>
- <description>HTML5 Dashboard 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="low-can" value="ws"/>
- </feature>
-</widget>