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

Configure only new bookmark with default path from profile. #16658

Merged
merged 2 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@
import ch.cyberduck.core.oauth.OAuth2RequestInterceptor;
import ch.cyberduck.core.preferences.HostPreferences;
import ch.cyberduck.core.proxy.ProxyFinder;
import ch.cyberduck.core.shared.DefaultPathHomeFeature;
import ch.cyberduck.core.shared.DelegatingHomeFeature;
import ch.cyberduck.core.shared.WorkdirHomeFeature;
import ch.cyberduck.core.ssl.X509KeyManager;
import ch.cyberduck.core.ssl.X509TrustManager;
import ch.cyberduck.core.threading.CancelCallback;
Expand Down Expand Up @@ -183,9 +180,6 @@ public <T> T _getFeature(Class<T> type) {
if(type == Versioning.class) {
return (T) new DriveVersioningFeature(this, fileid);
}
if(type == Home.class) {
return (T) new DelegatingHomeFeature(new WorkdirHomeFeature(host), new DefaultPathHomeFeature(host), new DriveHomeFinderService());
}
return super._getFeature(type);
}

Expand Down
2 changes: 2 additions & 0 deletions profiles/default/Google Drive.cyberduckprofile
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
<false/>
<key>Username Configurable</key>
<false/>
<key>Default Path</key>
<string>/My Drive</string>
<key>Path Placeholder</key>
<string>/My Drive</string>
</dict>
Expand Down
Loading