Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates to microphone permissions and plugins #763

Merged
merged 9 commits into from
Nov 29, 2019
Merged

Conversation

karaggeorge
Copy link
Member

Fixes #760

Not sure what was causing it, but I've added a lot of checks and safeguards around microphone permissions and usage. I was able to reproduce locally and now I can't. I'll also ping people to test the packaged version.

Also tries to fix the issues with the plugins. Turns out if you npm prune it removes all of the node_modules, so Kap can't actually require the plugins. Yarn's docs say that yarn install will automatically prune extra dependencies, so I've replaced the prune with that. (also removing npm as a dependency).

@karaggeorge
Copy link
Member Author

karaggeorge commented Nov 26, 2019

I still get this issue when I first download/install the packaged version... might be related to electron/electron#20498

I tried wrapping all the calls in try/catch and getting an error dialog, but it still crashes with no message, so I'm guessing it has to do with something internal to electron

@karaggeorge
Copy link
Member Author

karaggeorge commented Nov 26, 2019

Update, the issue we were having was this: electron/electron#19307

Adding the extra entry in the entitlements did the trick for me. Waiting for others to test, to make sure it worked

Also lol removing npm from dependencies removed 1400 lines from the yarn.lock file

@sindresorhus sindresorhus merged commit 6f7f61f into master Nov 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enabling audio recording crashes the app
2 participants