Hi,
I have tried to create a new Vault in my Google Drive.
Google Drive is not detected, should I use the custom location option?
Google Drive client is installed on my computer (version 77.0.3.0)
Cryptomator 1.9.1
Mac OS 13.14.1 (Silicon)
infeo
July 3, 2023, 10:38am
2
Yes. If the cloud location is not displayed, then use the Custom location option.
Cryptomator currently only checks the following paths for google drive:
~/GoogleDrive/My Drive
~/Google Drive/My Drive
~/GoogleDrive and
~/Google Drive
But we have an open ticket for the new paths:
opened 06:50AM - 23 May 23 UTC
type:enhancement
os:mac
storage:google-drive
good first issue
### Please agree to the following
- [X] I have searched [existing issues](https… ://github.com/cryptomator/cryptomator/issues?q=) for duplicates
- [X] I agree to follow this project's [Code of Conduct](https://github.com/cryptomator/cryptomator/blob/develop/.github/CODE_OF_CONDUCT.md)
### Summary
Auto detect all accounts and drives
### Motivation
Currently, our `GoogleDriveLocationPresetsProvider` checks a hard-coded path `~/Google Drive/My Drive`, which is partly incorrect (on non-english locales) and partly incomplete (when using multiple accounts or multiple drives per account) - see https://github.com/cryptomator/cryptomator/pull/2918#discussion_r1200566017.
Instead, we should look for `~/Library/CloudStorage/GoogleDrive-*/*`. The display name should be composed of both the account name (first `*`) and the drive name (second `*`).
### Considered Alternatives
_No response_
### Anything else?
This would likely also solve issue #1930
We might need to refactor the UI to support a) longer display names and b) a longer list of found clouds.
Feel free to move this issue to `integrations-mac`, if the API has been externalized by the time you start working on it. 😉
Thanks for the update.
Any help if I add my path to the the ticket?
/Users/username /Library/CloudStorage/GoogleDrive-Google Workspace Email account /Mon\ Drive
username : my mac user account name
Google Workspace Email account : email address of my Google workspace account