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

"Full Disk Access" is granted but doesn't persist during local development #6

Closed
adamfeldman opened this issue Sep 2, 2021 · 4 comments
Labels
question Further information is requested

Comments

@adamfeldman
Copy link

I am struggling with running this locally. I will contribute regex for a couple USA businesses – Chase and T-Mobile.

I have the app running locally on macOS 11.5.2, via npm run dev.

I gave Electron.app Full Disk Access by dragging it into System Preferences. However I can't get the app into a state where it can read the iMessage sqlite (per logs). When I restart the app using the in-app button, it always prompts me to enable Full Disk Access, despite it already being on.

I'm not deeply familiar with Electron and am unsure what to try next.

Thank you for building ohtipi! Discovered it in Setapp.

CleanShot.2021-09-02.at.11.13.56.mp4
@alectrocute
Copy link
Contributor

alectrocute commented Sep 2, 2021

Hey @adamfeldman, thanks for the wonderful ticket with all the info & video!

When in development, you'll have to grant Full Disk Access to whatever is launching Ohtipi (and in extension, the Electron.app binary), in this case either Terminal.app or Visual Studio Code.app. Let me know if this works for you.

If this works for you – I will be adding a note about this in our public-facing documentation.

@alectrocute
Copy link
Contributor

PS - For the services that aren't being detected, try adding them to this array and seeing if that does the trick.

@alectrocute alectrocute added the question Further information is requested label Sep 2, 2021
@adamfeldman
Copy link
Author

When in development, you'll have to grant Full Disk Access to whatever is launching Ohtipi (and in extension, the Electron.app binary), in this case either Terminal.app or Visual Studio Code.app. Let me know if this works for you.

Thank you @alectrocute! As I'm running my terminal within VS Code, adding that fixed the issue with Full Disk Access.

For adding the services, I'm using the recent PR #4 as an example. Am running the npm run test to try and get a sense of if what I'm doing is working. So far no luck with getting the running dev app to pickup my OTP SMS :)

@adamfeldman
Copy link
Author

Wasn't clear in my earlier comment – am going to continue working with this, another day soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants