From eb9bdae63cf0d69228772859ec3fccc426678448 Mon Sep 17 00:00:00 2001 From: Nick White Date: Thu, 18 Nov 2010 18:43:33 +0000 Subject: Add chromium auto-update code --- Makefile | 3 +++ chromium/manifest.json | 3 ++- chromium/updates.xml | 6 ++++++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 chromium/updates.xml diff --git a/Makefile b/Makefile index 2e89928..7a05f61 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,9 @@ NAME = simplyread VERSION = 0.4 +chromium-updates.xml: chromium/updates.xml + sed "s/VERSION/$(VERSION)/g" < $< > $@ + index.html: doap.ttl README webheader.html echo making webpage cat < webheader.html > $@ diff --git a/chromium/manifest.json b/chromium/manifest.json index 321aff9..6b28f29 100644 --- a/chromium/manifest.json +++ b/chromium/manifest.json @@ -4,5 +4,6 @@ "background_page": "background.html", "permissions": [ "tabs", "*://*/*" ], "content_scripts": [{"matches": ["*://*/*"], "js": ["simplyread.js", "keybind.js"]}], - "browser_action": { "default_icon": "icon.png" } + "browser_action": { "default_icon": "icon.png" }, + "update_url": "http://njw.me.uk/software/simplyread/chromium-updates.xml" } diff --git a/chromium/updates.xml b/chromium/updates.xml new file mode 100644 index 0000000..8dec4de --- /dev/null +++ b/chromium/updates.xml @@ -0,0 +1,6 @@ + + + + + + -- cgit v1.2.3