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
|
### v1.4.4
|
||||||
*2014-04-03*
|
*2014-04-03*
|
||||||
|
|
||||||
|
|||||||
@ -50,6 +50,7 @@ module.exports = (grunt) ->
|
|||||||
crx:
|
crx:
|
||||||
files:
|
files:
|
||||||
'builds/crx/manifest.json': 'src/General/meta/manifest.json'
|
'builds/crx/manifest.json': 'src/General/meta/manifest.json'
|
||||||
|
'builds/updates.xml': 'src/General/meta/updates.xml'
|
||||||
'builds/crx/script.js': [
|
'builds/crx/script.js': [
|
||||||
'src/General/meta/botproc.js'
|
'src/General/meta/botproc.js'
|
||||||
'src/General/meta/banner.js'
|
'src/General/meta/banner.js'
|
||||||
|
|||||||
@ -15,6 +15,7 @@
|
|||||||
"run_at": "document_start"
|
"run_at": "document_start"
|
||||||
}],
|
}],
|
||||||
"homepage_url": "https://github.com/ccd0/4chan-x",
|
"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",
|
"minimum_chrome_version": "31",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"storage",
|
"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"
|
"run_at": "document_start"
|
||||||
}],
|
}],
|
||||||
"homepage_url": "<%= meta.page %>",
|
"homepage_url": "<%= meta.page %>",
|
||||||
|
"update_url": "<%= meta.repo %>raw/master/builds/updates.xml",
|
||||||
"minimum_chrome_version": "<%= meta.min.chrome %>",
|
"minimum_chrome_version": "<%= meta.min.chrome %>",
|
||||||
"permissions": [
|
"permissions": [
|
||||||
"storage",
|
"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