-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Problem creating NativeMessagingHosts directory #5272
Comments
We'll want a fix similar to what is done here (where directory is created if it doesn't exist): |
Update: I think this is affecting ANY extension which uses the Also note-worthy: we did port the change over here: brave/brave-core#53 - however, the user_data_dir won't exist if users hadn't installed Chrome before. Will dig into this some more |
Huge thanks to @simonhong for helping me narrow down the issue 😄 I updated the title after we verified the behavior. We are creating a directory use with I believe that people experiencing a problem with this not being created are having a permissions issue (ex: can't create On a healthy machine, @simonhong removed However, this may introduce a few problems:
@bridiver @iefremov @simonhong (others welcome as well) do you think we should continue to override this directory as |
I gather keeping the current way is better than switching to our own directories in case external apps do really expect Chrome paths. So I think to answer this we need to:
|
FYI - edge uses its own directory
|
Reminder to check other browsers e.g. use 1password for Vivaldi, Opera to see if they're creating own folder or using the Chrome directory |
Vivaldi stephendonner@Stephens-MacBook-Pro NativeMessagingHosts % ls -la ~/Library/Application\ Support/Vivaldi/NativeMessagingHosts I haven't yet found a directory created by Opera for its browser - will come back and edit once I'm able to. |
@iefremov there is another option discussed in a related issue which is to copy everything from Chrome/NativeMessagingHosts into Brave/NativeMessagingHosts. @diracdeltas seemed to be ok with that option. |
also |
Was this already fixed? When I search for all folders named Edit: And that folder is not getting used. Brave is looking into the Google Chrome's NativeMessagingHosts folder incorrectly. Even though apparently the above Brave specific path exists by now it is unusable as only |
Description
Request from the AgileBits team (https://twitter.com/dteare/status/1151548356637941762):
Steps to Reproduce
~/Library/Application\ Support/Google/Chrome/NativeMessagingHosts/
Actual result:
Folder does not exist.
Expected result:
Folder, for compat reasons, should exist.
Reproduces how often:
Always.
Brave version (brave://version info)
0.66.100
Other Additional Information:
Miscellaneous Information:
Similar issue was resolved for Muon about 2 years ago:
The text was updated successfully, but these errors were encountered: