From 036643eb1a04a9209f29c98626191bb1fe0860bd Mon Sep 17 00:00:00 2001 From: cmorten Date: Thu, 24 Sep 2026 14:53:14 +0100 Subject: [PATCH] feat: support control of firefox nightly --- package.json | 2 +- src/commands/setup/macOS/updateTccDb.ts | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index fe73adf..6b3da69 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@guidepup/setup", - "version": "0.25.3", + "version": "0.26.0", "description": "CLI for configuring environments and install screen reader assets for Guidepup.", "main": "lib/index.js", "typings": "lib/index.d.ts", diff --git a/src/commands/setup/macOS/updateTccDb.ts b/src/commands/setup/macOS/updateTccDb.ts index c79daa6..4c29ab8 100644 --- a/src/commands/setup/macOS/updateTccDb.ts +++ b/src/commands/setup/macOS/updateTccDb.ts @@ -23,6 +23,7 @@ const finderApp = "com.apple.finder"; const safariApp = "com.apple.Safari"; const firefoxApp = "org.mozilla.firefox"; const firefoxNightlyApp = "org.mozilla.nightly"; +const playwrightFirefoxNightlyApp = "org.mozilla.nightlyunofficial"; const operaApp = "com.operasoftware.Opera"; const chromeApp = "com.google.Chrome"; const chromeBetaApp = "com.google.Chrome.beta"; @@ -123,11 +124,16 @@ const getEntries = (): string[] => { (client) => `'kTCCServiceAppleEvents','${client}',1,2,3,1,NULL,NULL,0,'${firefoxApp}',NULL,NULL,${epoch}`, ), - // Permit Control Of Firefox Nightly And Playwright Firefox Nightly + // Permit Control Of Firefox Nightly ...standardClients.map( (client) => `'kTCCServiceAppleEvents','${client}',1,2,3,1,NULL,NULL,0,'${firefoxNightlyApp}',NULL,NULL,${epoch}`, ), + // Permit Control Of Playwright Firefox Nightly + ...standardClients.map( + (client) => + `'kTCCServiceAppleEvents','${client}',1,2,3,1,NULL,NULL,0,'${playwrightFirefoxNightlyApp}',NULL,NULL,${epoch}`, + ), // Permit Control Of Opera ...standardClients.map( (client) =>