From c3afe47b3df1cad7ff39329858cd6a1299d4e912 Mon Sep 17 00:00:00 2001 From: postsolar <120750161+postsolar@users.noreply.github.com> Date: Sat, 14 Oct 2023 10:50:42 +0300 Subject: [PATCH] Update Firefox manifest --- extension/manifest/chrome.json | 3 +++ extension/manifest/common.json | 3 --- extension/manifest/firefox.json | 5 ++++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/extension/manifest/chrome.json b/extension/manifest/chrome.json index 132fd8d..639a10c 100644 --- a/extension/manifest/chrome.json +++ b/extension/manifest/chrome.json @@ -1,3 +1,6 @@ { + "background": { + "service_worker": "background.js" + }, "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAmSz06f+QU6YhleWBKOEUy88DV8wOmNy7Jf9mRhBqXjHVhySBbkOrPkWsMbLEHwo0MdEDf3XrrC38t95l/gvcTgSZv6VQpknf+QuMI4LWmkAqyD+M3F/w3pXXiiHNa6gQHeFganF7XckTDQzEUZFRjXlgW12wsGOnEGbjVKq8/ZXTHiMbFaACiy/ZAi3OvaJVR5KdxMkxtFg7Wg+bKY6Esi7GLeNKlBttahXAKMPcGenuLCmLzKEcIE6CSRKHu1zDlfUXn2Mmc5j5oLJDKuy2vA2yIu1CoLahgeHFUewZCFFKjMwO1ZQMUMO1yN18IterFDdkMsn5rdvC0w2tPLXYeQIDAQAB" } diff --git a/extension/manifest/common.json b/extension/manifest/common.json index 2482219..7038593 100644 --- a/extension/manifest/common.json +++ b/extension/manifest/common.json @@ -6,9 +6,6 @@ "permissions": [ "nativeMessaging" ], - "background": { - "service_worker": "background.js" - }, "icons": { "16": "packages/terminal.png", "48": "packages/terminal.png", diff --git a/extension/manifest/firefox.json b/extension/manifest/firefox.json index 305d18d..e6da429 100644 --- a/extension/manifest/firefox.json +++ b/extension/manifest/firefox.json @@ -1,5 +1,8 @@ { - "applications": { + "background": { + "scripts": [ "background.js" ] + }, + "browser_specific_settings": { "gecko": { "id": "shell@alexherbo2.github.com" }