From ce7699bb4cfc13db3314128b6357821225070e3c Mon Sep 17 00:00:00 2001 From: smartfridge <37928912+smartfrigde@users.noreply.github.com> Date: Thu, 6 May 2021 11:11:13 +0200 Subject: [PATCH] Fix Microphone perms --- main.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.js b/main.js index 89d5b21..7b65f28 100644 --- a/main.js +++ b/main.js @@ -102,6 +102,10 @@ app.whenReady().then(() => { // Approves the permissions request callback(true); } + if (permission === "microphone") { + // Approves the permissions request + callback(true); + } }); app.on("activate", function () { // On macOS it's common to re-create a window in the app when the