From 475e2b99e9c0bd2900590ea00ce4d8e3d943b1d7 Mon Sep 17 00:00:00 2001 From: Dima Gerasimov Date: Sat, 19 Jan 2019 00:41:27 +0000 Subject: [PATCH] custom name for unrestricted package --- package.json | 2 +- src/manifest.json | 1 - webpack.config.js | 3 +++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index be3170f..b80a8e9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "grasp-extension", - "version": "0.6.0", + "version": "0.6.1", "description": "A reliable way of capturing web pages and content", "scripts": { "build": "webpack --progress --profile --colors", diff --git a/src/manifest.json b/src/manifest.json index 9323191..fea95dd 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -1,5 +1,4 @@ { - "name": "Grasp Extension", "short_name": "org-grasp", "icons": { "128": "unicorn.png" diff --git a/webpack.config.js b/webpack.config.js index e6380c3..ea623d5 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -11,6 +11,8 @@ var webpack = require("webpack"), const pkg = require('./package.json'); const baseManifest = require('./src/manifest.json'); +const pkg_name = env.ANY_HOST ? "Grasp extension (any host)" : "Grasp extension"; + const permissions = [ "storage", "notifications", @@ -90,6 +92,7 @@ var options = { config: { base: baseManifest, extend: { + name: pkg_name, version: pkg.version, description: pkg.description, permissions: permissions,