From 17c83ece151e0614dbc295814413a08864749748 Mon Sep 17 00:00:00 2001 From: Rol Date: Thu, 30 Jul 2026 01:16:47 -0400 Subject: [PATCH] Add Mic and Webcam Entitlements --- entitlements.plist | 10 ++++++++++ forge.config.ts | 9 +++++++++ 2 files changed, 19 insertions(+) create mode 100644 entitlements.plist diff --git a/entitlements.plist b/entitlements.plist new file mode 100644 index 0000000..a112145 --- /dev/null +++ b/entitlements.plist @@ -0,0 +1,10 @@ + + + + + com.apple.security.device.audio-input + + com.apple.security.device.camera + + + \ No newline at end of file diff --git a/forge.config.ts b/forge.config.ts index 732fca2..7ab6520 100644 --- a/forge.config.ts +++ b/forge.config.ts @@ -125,6 +125,15 @@ const config: ForgeConfig = { name: STRINGS.name, executableName: STRINGS.execName, icon: `${ASSET_DIR}/icon`, + osxSign: { + + optionsForFile: (filePath) => { + return { + entitlements: './entitlements.plist' + }; + } + } + // extraResource: [ // // include all the asset files // ...globSync(ASSET_DIR + "/**/*"),