You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 #2918 (comment).
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 *).
Please agree to the following
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 #2918 (comment).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. 😉The text was updated successfully, but these errors were encountered: