From 520396a7d5b3f574aca77d8ee10265d20fdc2d40 Mon Sep 17 00:00:00 2001 From: Jonathan Prusik Date: Mon, 25 Nov 2024 16:13:11 -0500 Subject: [PATCH 1/2] update node commands for building non-chrome browser extensions --- docs/getting-started/clients/browser/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/getting-started/clients/browser/index.md b/docs/getting-started/clients/browser/index.md index d9a4e4c81..a1f986b9c 100644 --- a/docs/getting-started/clients/browser/index.md +++ b/docs/getting-started/clients/browser/index.md @@ -21,8 +21,8 @@ Before you start, you must complete the [Clients repository setup instructions]( The build commands use [Manifest v3](https://developer.chrome.com/docs/extensions/develop/migrate/what-is-mv3) by - default. If you are building for Firefox or otherwise need a Manifest v2 build, you should use - the command `npm run build:watch:mv2` instead. + default. If you are building for a non-Chrome browser like Firefox or Safari, you should use the + command `npm run build:watch:` instead. ::: @@ -194,7 +194,7 @@ The easiest way to develop the extension is to build and debug it using Xcode. 1. Build the extension: ```bash - npm run build:watch:mv2 + npm run build:watch:safari ``` 2. Edit `build/manifest.json`. Move the `nativeMessaging` permission from the `optional_permissions` From 4a2afc196dd37ad6f036eb5b6a0ee8935d904adc Mon Sep 17 00:00:00 2001 From: Jonathan Prusik Date: Mon, 25 Nov 2024 16:18:35 -0500 Subject: [PATCH 2/2] remove unneeded instructions --- docs/getting-started/clients/browser/index.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/getting-started/clients/browser/index.md b/docs/getting-started/clients/browser/index.md index a1f986b9c..5f33934e8 100644 --- a/docs/getting-started/clients/browser/index.md +++ b/docs/getting-started/clients/browser/index.md @@ -197,12 +197,8 @@ The easiest way to develop the extension is to build and debug it using Xcode. npm run build:watch:safari ``` -2. Edit `build/manifest.json`. Move the `nativeMessaging` permission from the `optional_permissions` - section into the `permissions` section -3. Edit `build/popup/index.html`, replace `` to - ``. -4. Open `src/safari/desktop.xcodeproj` in Xcode -5. Run the "desktop" target. +2. Open `src/safari/desktop.xcodeproj` in Xcode +3. Run the "desktop" target. :::note