aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Dapena Paz <jdapena@igalia.com>2022-04-11 11:59:36 +0200
committerJose Dapena Paz <jdapena@igalia.com>2022-04-20 15:48:05 +0200
commitcb6b66c3bd94a6ab18cad3ad87c827d4f7e623e9 (patch)
tree3b8e282f93b5dd7a18494f9c8914972dd08d858c
parentb37179742fac1053ba621cfa12938ec6536cf1f7 (diff)
Use appinfo.json instead of config.xml
Bug-AGL: SPEC-4251 Change-Id: Id79f36b47dacd3f6f45119f908898538530e2ad2 Signed-off-by: Jose Dapena Paz <jdapena@igalia.com>
-rw-r--r--src/appinfo.json12
-rw-r--r--src/config.xml12
-rw-r--r--webpack.config.js2
3 files changed, 13 insertions, 13 deletions
diff --git a/src/appinfo.json b/src/appinfo.json
new file mode 100644
index 0000000..60237cc
--- /dev/null
+++ b/src/appinfo.json
@@ -0,0 +1,12 @@
+{
+ "id": "launcher",
+ "title": "HTML5 Launcher",
+ "description": "Launcher application for AGL based on html5 technologies",
+ "version": "1.0.0",
+ "vendor": "Igalia, S.L.",
+ "type": "web",
+ "main": "index.html",
+ "uiRevision": "2",
+ "icon": "icon.svg",
+ "extensions": [ "agl_appservice" ]
+}
diff --git a/src/config.xml b/src/config.xml
deleted file mode 100644
index 349018f..0000000
--- a/src/config.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<widget xmlns="http://www.w3.org/ns/widgets" id="launcher" version="1.0">
- <name>HTML5 Launcher</name>
- <icon src="icon.svg"/>
- <content src="index.html" type="text/html"/>
- <description>Launcher application for AGL based on html5 technologies</description>
- <author>Igalia, S.L.</author>
- <license>APL 2.0</license>
- <feature name="urn:AGL:widget:required-api">
- <param name="agl_appservice" value="injection" />
- </feature>
-</widget>
diff --git a/webpack.config.js b/webpack.config.js
index 9e80342..b4cbf0a 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -25,7 +25,7 @@ module.exports = {
flatten: true
},
{
- from: 'src/config.xml',
+ from: 'src/appinfo.json',
flatten: true
},
{