use gh-pages for updates

This commit is contained in:
ccd0 2014-04-03 15:59:40 -07:00
parent 1aed06b412
commit f53752c20c
10 changed files with 13 additions and 12 deletions

View File

@ -2,8 +2,8 @@ Personal fork of Spittie's 4chan X.
#### [Why 4chan X needs to access data on every site?](https://github.com/ccd0/4chan-x/wiki/Why-4chan-X-needs-to-access-data-from-every-website%3F)
##[Install](../../raw/master/builds/4chan-X.user.js) (Firefox)
##[Install](../../raw/master/builds/crx.crx) (Chrom*)
##[Install](https://ccd0.github.io/4chan-x/builds/4chan-X.user.js) (Firefox)
##[Install](https://ccd0.github.io/4chan-x/builds/crx.crx) (Chrom*)
<!---
##[Install](http://a.pomf.se/tkhuwm.xpi) (Firefox Mobile)
-->

View File

@ -17,7 +17,7 @@
// @grant GM_openInTab
// @grant GM_xmlhttpRequest
// @run-at document-start
// @updateURL https://github.com/ccd0/4chan-x/raw/stable/builds/4chan-X.meta.js
// @downloadURL https://github.com/ccd0/4chan-x/raw/stable/builds/4chan-X.user.js
// @updateURL https://ccd0.github.io/4chan-x/builds/4chan-X.meta.js
// @downloadURL https://ccd0.github.io/4chan-x/builds/4chan-X.user.js
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAACVBMVEUAAGcAAABmzDNZt9VtAAAAAXRSTlMAQObYZgAAAF5JREFUeNrtkTESABAQxPD/R6tsE2dUGYUtFJvLDKf93KevHJAjpBorAQWSBIKqFASC4G0pCAkm4GfaEvgYXl0T6HBaE97f0vmnfYHbZOMLZCx9ISdKWwjOWZSC8GYm4SUGwfYgqI4AAAAASUVORK5CYII=
// ==/UserScript==

View File

@ -18,8 +18,8 @@
// @grant GM_openInTab
// @grant GM_xmlhttpRequest
// @run-at document-start
// @updateURL https://github.com/ccd0/4chan-x/raw/stable/builds/4chan-X.meta.js
// @downloadURL https://github.com/ccd0/4chan-x/raw/stable/builds/4chan-X.user.js
// @updateURL https://ccd0.github.io/4chan-x/builds/4chan-X.meta.js
// @downloadURL https://ccd0.github.io/4chan-x/builds/4chan-X.user.js
// @icon data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAACVBMVEUAAGcAAABmzDNZt9VtAAAAAXRSTlMAQObYZgAAAF5JREFUeNrtkTESABAQxPD/R6tsE2dUGYUtFJvLDKf93KevHJAjpBorAQWSBIKqFASC4G0pCAkm4GfaEvgYXl0T6HBaE97f0vmnfYHbZOMLZCx9ISdKWwjOWZSC8GYm4SUGwfYgqI4AAAAASUVORK5CYII=
// ==/UserScript==

Binary file not shown.

View File

@ -15,7 +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",
"update_url": "https://ccd0.github.io/4chan-x/builds/updates.xml",
"minimum_chrome_version": "31",
"permissions": [
"storage",

View File

@ -1,7 +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.6' />
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/crx.crx' version='1.4.6' />
</app>
</gupdate>

View File

@ -6,6 +6,7 @@
"name": "4chan X",
"repo": "https://github.com/ccd0/4chan-x/",
"page": "https://github.com/ccd0/4chan-x",
"downloads": "https://ccd0.github.io/4chan-x/builds/",
"buildsPath": "builds/",
"mainBranch": "master",
"matches": [

View File

@ -15,7 +15,7 @@
"run_at": "document_start"
}],
"homepage_url": "<%= meta.page %>",
"update_url": "<%= meta.repo %>raw/master/builds/updates.xml",
"update_url": "<%= meta.downloads %>updates.xml",
"minimum_chrome_version": "<%= meta.min.chrome %>",
"permissions": [
"storage",

View File

@ -18,7 +18,7 @@
// @grant GM_openInTab
// @grant GM_xmlhttpRequest
// @run-at document-start
// @updateURL <%= meta.repo %>raw/stable/builds/<%= meta.files.metajs %>
// @downloadURL <%= meta.repo %>raw/stable/builds/<%= meta.files.userjs %>
// @updateURL <%= meta.downloads %><%= meta.files.metajs %>
// @downloadURL <%= meta.downloads %><%= meta.files.userjs %>
// @icon data:image/png;base64,<%= grunt.file.read('src/General/img/icon48.png', {encoding: 'base64'}) %>
// ==/UserScript==

View File

@ -1,7 +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 %>' />
<updatecheck codebase='<%= meta.downloads %>crx.crx' version='<%= version %>' />
</app>
</gupdate>