Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CSS-Tricks/The-Printliminator.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMottie <wowmotty@gmail.com>2015-09-29 06:57:51 +0300
committerMottie <wowmotty@gmail.com>2015-09-29 06:57:51 +0300
commitbd82654538270f331f025449560fca9c404333bd (patch)
treee173876488907f9e297e2065d04d763998412157
parent088e13bf113837fa227efb949c72d65ebfda6097 (diff)
Add Chrome extension autoupdatev4.0.2
-rw-r--r--Gruntfile.js15
-rw-r--r--dist/chrome.crxbin19508 -> 19534 bytes
-rw-r--r--dist/chrome.zipbin20541 -> 20567 bytes
-rw-r--r--dist/chrome/manifest.json1
-rw-r--r--dist/opera.nexbin19508 -> 19534 bytes
-rw-r--r--src/chrome/manifest.json1
-rw-r--r--src/chrome/updates.xml6
-rw-r--r--updates.xml6
8 files changed, 27 insertions, 2 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index eb0bfee..f0276c5 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -84,7 +84,8 @@ module.exports = function( grunt ) {
src : [
'dist/**/*',
config.indexHtml,
- '*.min.js'
+ '*.min.js',
+ 'updates.xml'
]
},
cleanup : {
@@ -119,6 +120,14 @@ module.exports = function( grunt ) {
src : [ '_locales/**/*.json' ],
dest : 'dist/chrome'
},
+ chromeUpdate : {
+ files : [{
+ expand : true,
+ flatten : true,
+ src : [ 'src/chrome/updates.xml' ],
+ dest : './'
+ }]
+ },
// Opera can use chrome.crx; just renamed
opera : {
src : 'dist/chrome.crx',
@@ -290,6 +299,7 @@ module.exports = function( grunt ) {
'bookmarklet-create',
'copy:chrome',
'copy:chromeLocales',
+ 'copy:chromeUpdate',
'jshint',
'jasmine',
'clean:cleanup'
@@ -351,7 +361,8 @@ module.exports = function( grunt ) {
projectFile = [
'dist/chrome/manifest.json',
'dist/chrome/printliminator.js',
- 'dist/bookmarklet/printliminator.js'
+ 'dist/bookmarklet/printliminator.js',
+ 'updates.xml'
],
len = projectFile.length;
for ( i = 0; i < len; i++ ) {
diff --git a/dist/chrome.crx b/dist/chrome.crx
index cd29b8b..ce6e4e2 100644
--- a/dist/chrome.crx
+++ b/dist/chrome.crx
Binary files differ
diff --git a/dist/chrome.zip b/dist/chrome.zip
index 0015a5e..0e74db4 100644
--- a/dist/chrome.zip
+++ b/dist/chrome.zip
Binary files differ
diff --git a/dist/chrome/manifest.json b/dist/chrome/manifest.json
index 0675bbd..f131a36 100644
--- a/dist/chrome/manifest.json
+++ b/dist/chrome/manifest.json
@@ -5,6 +5,7 @@
"author": "Chris Coyier",
"description": "__MSG_printliminatorDescription__",
"homepage_url": "https://github.com/CSS-Tricks/The-Printliminator",
+ "update_url": "https://css-tricks.github.io/The-Printliminator/updates.xml",
"default_locale": "en",
"icons": {
"16": "icon16.png",
diff --git a/dist/opera.nex b/dist/opera.nex
index cd29b8b..ce6e4e2 100644
--- a/dist/opera.nex
+++ b/dist/opera.nex
Binary files differ
diff --git a/src/chrome/manifest.json b/src/chrome/manifest.json
index 0675bbd..f131a36 100644
--- a/src/chrome/manifest.json
+++ b/src/chrome/manifest.json
@@ -5,6 +5,7 @@
"author": "Chris Coyier",
"description": "__MSG_printliminatorDescription__",
"homepage_url": "https://github.com/CSS-Tricks/The-Printliminator",
+ "update_url": "https://css-tricks.github.io/The-Printliminator/updates.xml",
"default_locale": "en",
"icons": {
"16": "icon16.png",
diff --git a/src/chrome/updates.xml b/src/chrome/updates.xml
new file mode 100644
index 0000000..cfabf36
--- /dev/null
+++ b/src/chrome/updates.xml
@@ -0,0 +1,6 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
+ <app appid='nklechikgnfoonbfmcalddjcpmcmgapf'>
+ <updatecheck codebase='http://css-tricks.github.io/The-Printliminator/dist/chrome.crx' version='{version}' />
+ </app>
+</gupdate>
diff --git a/updates.xml b/updates.xml
new file mode 100644
index 0000000..065d3ee
--- /dev/null
+++ b/updates.xml
@@ -0,0 +1,6 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
+ <app appid='nklechikgnfoonbfmcalddjcpmcmgapf'>
+ <updatecheck codebase='http://css-tricks.github.io/The-Printliminator/dist/chrome.crx' version='4.0.2' />
+ </app>
+</gupdate>