Skip to content

Commit

Permalink
Update manifest.json build for thunderbird
Browse files Browse the repository at this point in the history
  • Loading branch information
martgil committed May 15, 2024
1 parent 0c57369 commit 56f731f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tooling/build-types-and-manifests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,11 @@ addManifest('thunderbird-consumer', manifest => {
},
};
manifest.name = 'FlowCrypt Encryption for Thunderbird';
manifest.browser_action = manifest.action;
delete manifest.action;
manifest.browser_action.default_title = 'FlowCrypt Encryption for Thunderbird';
manifest.description = 'Secure end-to-end encryption with FlowCrypt'; // needs to updated later
delete manifest.permissions;
manifest.permissions = ['storage', 'tabs', 'https://www.googleapis.com/*', 'https://flowcrypt.com/*', 'https://*.google.com/*'];
manifest.permissions = manifest.permissions.filter((p: string) => p !== 'unlimitedStorage');
manifest.compose_action = {
default_title: 'FlowCrypt', // eslint-disable-line @typescript-eslint/naming-convention
default_icon: '/img/logo/flowcrypt-logo-64-64.png', // eslint-disable-line @typescript-eslint/naming-convention
Expand All @@ -75,6 +76,7 @@ addManifest('thunderbird-consumer', manifest => {
// default_popup will be updated later
default_popup: '/chrome/popups/default.htm', // eslint-disable-line @typescript-eslint/naming-convention
};
delete manifest.background.service_worker;
delete manifest.minimum_chrome_version;
});

Expand Down

0 comments on commit 56f731f

Please sign in to comment.