summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/appinfo.json11
-rw-r--r--src/config.xml21
-rw-r--r--webpack.config.js2
3 files changed, 12 insertions, 22 deletions
diff --git a/src/appinfo.json b/src/appinfo.json
new file mode 100644
index 0000000..4797951
--- /dev/null
+++ b/src/appinfo.json
@@ -0,0 +1,11 @@
+{
+ "id": "webapps-hvac",
+ "title": "HVAC",
+ "description": "HTML5 HVAC 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 f593184..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-hvac" version="0.0.0">
- <name>HVAC</name>
- <icon src="icon.svg"/>
- <content src="index.html" type="text/html"/>
- <description>HTML5 HVAC 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" />
- </feature>
-</widget>
diff --git a/webpack.config.js b/webpack.config.js
index 681704b..b300f01 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -34,7 +34,7 @@ module.exports = {
flatten: true
},
{
- from: 'src/config.xml',
+ from: 'src/appinfo.json',
flatten: true
},
{