summaryrefslogtreecommitdiff
path: root/chromium
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2010-11-18 18:43:33 +0000
committerNick White <git@njw.me.uk>2010-11-18 18:43:33 +0000
commiteb9bdae63cf0d69228772859ec3fccc426678448 (patch)
tree5fec1aa6f14725fc4fbc2d547d42c10dafb1b425 /chromium
parent6f2be227fc7f4e69e149e38a8b3c8359c4a14295 (diff)
Add chromium auto-update code
Diffstat (limited to 'chromium')
-rw-r--r--chromium/manifest.json3
-rw-r--r--chromium/updates.xml6
2 files changed, 8 insertions, 1 deletions
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 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
+ <app appid='apapoaenlmlncnnhbpdobjifmpjdabpn'>
+ <updatecheck codebase='http://njw.me.uk/software/simplyread/simplyread-VERSION.crx' version='VERSION' />
+ </app>
+</gupdate>