I am really enjoying my time working with Electron! I can’t believe how fast I can implement features.
My application needs to be able to access resources from protected directories - specifically Safari. In my research, I learned that I need to trigger the OSX permission dialogue in order for the user to grant permission to my app to control Safari.
So, how can my app reliably trigger the OSX permission dialogue? I understand that the OSX security system should automatically trigger this whenever some code in my application tries to access ~/Library/Safari (or any other protected directory) - for me, this doesn’t seem to work.
My dev environment:
macOS: Mojave 10.14.1