From e3e4460cdd503a1d214a823bd4c63979fb04ab71 Mon Sep 17 00:00:00 2001 From: Blake Winton Date: Tue, 15 Sep 2015 14:00:17 -0700 Subject: [PATCH] Include the files, and reference them in the manifest. --- gulpfile.js | 3 +-- manifest.json | 8 ++++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 91e0ca4..6ddb11f 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -3,7 +3,7 @@ var gulp = require('gulp'); var zip = require('gulp-zip'); -var files = ['manifest.json', 'background.js']; +var files = ['manifest.json', 'background.js', '*.png']; var xpiName = 'catgifs.xpi'; gulp.task('default', function () { @@ -11,4 +11,3 @@ gulp.task('default', function () { .pipe(zip(xpiName)) .pipe(gulp.dest('.')); }); - diff --git a/manifest.json b/manifest.json index 8eeae4d..32d50b1 100644 --- a/manifest.json +++ b/manifest.json @@ -1,5 +1,9 @@ { "manifest_version": 2, + "icons": { + "48": "icon.png", + "128": "icon128.png" + }, "name": "Cat Gifs!", "version": "1.0", "applications": { @@ -18,6 +22,10 @@ ], "browser_action": { + "default_icon": { + "19": "button.png", + "38": "button38.png" + }, "default_title": "Cat Gifs!" } }