Add updater for Chrom* extension.
This commit is contained in:
parent
45d3ea8cc8
commit
7f3d330ba4
@ -1,3 +1,6 @@
|
||||
**ccd0**:
|
||||
- Add updater for Chrom* extension.
|
||||
|
||||
### v1.4.4
|
||||
*2014-04-03*
|
||||
|
||||
|
||||
@ -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'
|
||||
|
||||
@ -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",
|
||||
|
||||
7
builds/updates.xml
Normal file
7
builds/updates.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
||||
<app appid='4chan X'>
|
||||
<updatecheck codebase='https://github.com/ccd0/4chan-x/raw/master/builds/crx.crx' version='1.4.4' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
@ -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",
|
||||
|
||||
7
src/General/meta/updates.xml
Normal file
7
src/General/meta/updates.xml
Normal file
@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
||||
<app appid='<%= meta.name %>'>
|
||||
<updatecheck codebase='<%= meta.repo %>raw/master/builds/crx.crx' version='<%= version %>' />
|
||||
</app>
|
||||
</gupdate>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user