summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Dapena Paz <jdapena@igalia.com>2022-05-31 18:19:31 +0200
committerJose Dapena Paz <jdapena@igalia.com>2022-05-31 18:20:02 +0200
commitd22e1bf4701cac3d3104d2200583bc9ae4773f9b (patch)
treef9cea9dc641d09447bccf8d8cf7737d2f0aae598
parent3918793ef10605dc4eb5a10dbce1c28c3da628ef (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: I8e3491cf8836d2059b30fd699b425cebedeb03b8
-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..6c1e7d4
--- /dev/null
+++ b/src/appinfo.json
@@ -0,0 +1,11 @@
+{
+ "id": "webapps-settings",
+ "title": "SETTINGS",
+ "description": "HTML5 settings 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 1bfa186..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-settings" version="0.0.0">
- <name>SETTINGS</name>
- <icon src="icon.svg"/>
- <content src="index.html" type="text/html"/>
- <description>HTML5 SETTINGS 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="network-manager" value="ws" />
- <param name="Bluetooth-Manager" value="ws" />
- </feature>
-</widget>