-
Notifications
You must be signed in to change notification settings - Fork 35
/
ghostery-tab-chrome.js
36 lines (32 loc) · 1.23 KB
/
ghostery-tab-chrome.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/*!
* Copyright (c) 2014-present Cliqz GmbH. All rights reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
const ghosteryBase = require('./ghostery-tab-base');
const id = 'ifnpgdmcliingpambkkihjlhikmbbjid';
const CUSTOM_MANIFEST_ENTRY = `
,"minimum_chrome_version": "55"
`;
module.exports = Object.assign({}, ghosteryBase, {
CUSTOM_MANIFEST_ENTRY,
CUSTOM_MANIFEST_PERMISSIONS: '"commands",',
CUSTOM_MANIFEST_PAGE_ACTION_POPUP: '"default_popup": "popup/popup.html",',
QUICK_SEARCH_TOGGLE: 'Ctrl+K',
publish: `webstore upload --client-id=$UPLOAD_API_KEY --client-secret=$UPLOAD_API_SECRET --source ghostery_start_tab_nightly_-$VERSION.zip --extension-id ${id} && webstore publish --client-id=$UPLOAD_API_KEY --client-secret=$UPLOAD_API_SECRET --extension-id ${id}`,
settings: Object.assign({}, ghosteryBase.settings, {
channel: 'GT12',
telemetry: {
// Product information (telemetry)
demographics: {
...ghosteryBase.settings.telemetry.demographics,
platform: 'chrome',
},
},
}),
buildTargets: {
chrome: 55,
}
});