~harmless/security.txt

678278efd0b53e0ccd00420f6cfc97d9e815d5d4 — Travis Paul 1 year, 8 months ago d819efc
Allow incognito for Firefox, copy LICENSE and security.txt into build dirs.
2 files changed, 19 insertions(+), 8 deletions(-)

M Gruntfile.js
M src/manifest.firefox.json
M Gruntfile.js => Gruntfile.js +17 -6
@@ 23,7 23,7 @@ module.exports = function(grunt) {
      all: ['build']
    },
    copy: {
      all: {
      src: {
        files: browsers.map((browser) => {
          return {
            expand: true,


@@ 33,6 33,16 @@ module.exports = function(grunt) {
          };
        })
      },
      misc: {
        files: browsers.map((browser) => {
          return {
            expand: true,
            cwd: '.',
            src: ['security.txt', 'LICENSE'],
            dest: `build/${browser}`
          };
        })
      },
      polyfill: {
        files: browsers.map((browser) => {
          return {


@@ 61,7 71,7 @@ module.exports = function(grunt) {
    compress: {
      firefox: {
        options: {
          archive: `build/release/${packageJSON.name}.${packageJSON.version}.firefox.zip`
          archive: `build/release/${packageJSON.name}-${packageJSON.version}-firefox.zip`
        },
        files: [{
          expand: true,


@@ 72,7 82,7 @@ module.exports = function(grunt) {
      },
      chrome: {
        options: {
          archive: `build/release/${packageJSON.name}.${packageJSON.version}.chrome.zip`
          archive: `build/release/${packageJSON.name}-${packageJSON.version}-chrome.zip`
        },
        files: [{
          expand: true,


@@ 83,7 93,7 @@ module.exports = function(grunt) {
      },
      opera: {
        options: {
          archive: `build/release/${packageJSON.name}.${packageJSON.version}.opera.zip`
          archive: `build/release/${packageJSON.name}-${packageJSON.version}-opera.zip`
        },
        files: [{
          expand: true,


@@ 94,7 104,7 @@ module.exports = function(grunt) {
      },
      edge: {
        options: {
          archive: `build/release/${packageJSON.name}.${packageJSON.version}.edge.zip`
          archive: `build/release/${packageJSON.name}-${packageJSON.version}-edge.zip`
        },
        files: [{
          expand: true,


@@ 157,8 167,9 @@ module.exports = function(grunt) {
    'clean',
    'mkdir',
    'manifests',
    'copy',
    'copy:src',
    'copy:polyfill',
    'copy:misc',
    'quirks'
  ]);


M src/manifest.firefox.json => src/manifest.firefox.json +2 -2
@@ 1,7 1,7 @@

{
  "_notes_incognito": "Disable incognito support for Firefox. https://bugzilla.mozilla.org/show_bug.cgi?id=1380812",
  "incognito": "not_allowed",
  "_notes_incognito": "Split mode not supported on Firefox. https://bugzilla.mozilla.org/show_bug.cgi?id=1380812",
  "incognito": "spanning",

  "_notes_background": "Only persistent pages are supported in Firefox.",
  "background": {