Open thethomasz opened 2 years ago
Make sure you have done this:
If someone wants to work on this, make sure you test the change by running npm run dist and try launching the app in the dist folder.
Hmm, not sure why, but just realized that this package doesn't seem to be giving permissions correctly? It'll ask for permissions twice, once when the app is first opened, and another time when the user actually starts a screen recording.
The first one in the screenshot above is the one required to actually capture the screen, and the one below doesn't do anything at all. Might need some help with this one.
For the development and production versions, perhaps?
For the development and production versions, perhaps?
Hmm, I'm not sure what you mean. Lemme write out the steps I did to reproduce this, maybe my comment wasn't clear.
npm run dist
to build the app, and installed itIt shouldn't prompt for a second time, but not sure what I'm doing wrong.
Hopefully fixes #1095 while side stepping the issues in https://github.com/karaggeorge/mac-screen-capture-permissions/releases/tag/v2.0.0. This new package doesn't know if it has already asked for permission though, so on initial load, 2 dialogs will pop up. I'm thinking of adding something similar to what the old library had where it saves whether it has already asked before, but wanted to see if it's even necessary to update the package first.