diff --git a/CHANGELOG.md b/CHANGELOG.md index 0be1aa987..ffae3b68e 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +**ccd0**: +- Add updater for Chrom* extension. + ### v1.4.4 *2014-04-03* diff --git a/Gruntfile.coffee b/Gruntfile.coffee index d0b1c05cf..3eba81845 100755 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -50,6 +50,7 @@ module.exports = (grunt) -> crx: files: 'builds/crx/manifest.json': 'src/General/meta/manifest.json' + 'builds/updates.xml': 'src/General/meta/updates.xml' 'builds/crx/script.js': [ 'src/General/meta/botproc.js' 'src/General/meta/banner.js' diff --git a/builds/crx/manifest.json b/builds/crx/manifest.json index 1e50b939c..6c7fb0908 100755 --- a/builds/crx/manifest.json +++ b/builds/crx/manifest.json @@ -15,6 +15,7 @@ "run_at": "document_start" }], "homepage_url": "https://github.com/ccd0/4chan-x", + "update_url": "https://github.com/ccd0/4chan-x/raw/master/builds/updates.xml", "minimum_chrome_version": "31", "permissions": [ "storage", diff --git a/builds/updates.xml b/builds/updates.xml new file mode 100644 index 000000000..aff56c85f --- /dev/null +++ b/builds/updates.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/General/meta/manifest.json b/src/General/meta/manifest.json index cb022ecea..b9401d1e3 100755 --- a/src/General/meta/manifest.json +++ b/src/General/meta/manifest.json @@ -15,6 +15,7 @@ "run_at": "document_start" }], "homepage_url": "<%= meta.page %>", + "update_url": "<%= meta.repo %>raw/master/builds/updates.xml", "minimum_chrome_version": "<%= meta.min.chrome %>", "permissions": [ "storage", diff --git a/src/General/meta/updates.xml b/src/General/meta/updates.xml new file mode 100644 index 000000000..4b3f6b662 --- /dev/null +++ b/src/General/meta/updates.xml @@ -0,0 +1,7 @@ + + + + + + +