diff --git a/README.md b/README.md index f62fa29d4..10667e2f1 100755 --- a/README.md +++ b/README.md @@ -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*) diff --git a/builds/4chan-X.meta.js b/builds/4chan-X.meta.js index 23bc5c331..8faa08491 100755 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -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== diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 3f1d4c32d..99771d434 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -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== diff --git a/builds/crx.crx b/builds/crx.crx index a6400fc49..9670b22c1 100644 Binary files a/builds/crx.crx and b/builds/crx.crx differ diff --git a/builds/crx/manifest.json b/builds/crx/manifest.json index cef2b96d4..b79d23241 100755 --- a/builds/crx/manifest.json +++ b/builds/crx/manifest.json @@ -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", diff --git a/builds/updates.xml b/builds/updates.xml index a8234f581..46cf5282a 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/package.json b/package.json index 73469bede..c5bd70a74 100755 --- a/package.json +++ b/package.json @@ -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": [ diff --git a/src/General/meta/manifest.json b/src/General/meta/manifest.json index b9401d1e3..6d3d4caf6 100755 --- a/src/General/meta/manifest.json +++ b/src/General/meta/manifest.json @@ -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", diff --git a/src/General/meta/metadata.js b/src/General/meta/metadata.js index f9876f234..c68cbf0fb 100755 --- a/src/General/meta/metadata.js +++ b/src/General/meta/metadata.js @@ -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== diff --git a/src/General/meta/updates.xml b/src/General/meta/updates.xml index 4b3f6b662..529721dee 100644 --- a/src/General/meta/updates.xml +++ b/src/General/meta/updates.xml @@ -1,7 +1,7 @@ - +