diff options
author | Damiano Galassi <[email protected]> | 2020-12-01 10:54:34 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2020-12-01 10:54:34 +0100 |
commit | 223cfcd18aef673dfad8564093e4fc37cbcb5441 (patch) | |
tree | c8a1d1dae0c8c33bf3c84a82b1424afd7da3208b /macosx/HBUtilities.m | |
parent | feaf9d2f8074673ea95e26c038752316f9bf5bc9 (diff) |
MacGui: do not try to mount disks when a bookmark is resolved.
Diffstat (limited to 'macosx/HBUtilities.m')
-rw-r--r-- | macosx/HBUtilities.m | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/macosx/HBUtilities.m b/macosx/HBUtilities.m index af498813c..800db55da 100644 --- a/macosx/HBUtilities.m +++ b/macosx/HBUtilities.m @@ -97,7 +97,10 @@ static BOOL hb_resolveBookmarks = YES; NSError *error; BOOL isStale; - NSURL *url = [NSURL URLByResolvingBookmarkData:bookmark options:NSURLBookmarkResolutionWithSecurityScope relativeToURL:nil bookmarkDataIsStale:&isStale error:&error]; + NSURL *url = [NSURL URLByResolvingBookmarkData:bookmark + options:NSURLBookmarkResolutionWithSecurityScope | NSURLBookmarkResolutionWithoutMounting + relativeToURL:nil + bookmarkDataIsStale:&isStale error:&error]; if (error) { |