-
Type: Improvement
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Nuxeo Drive
-
Tags:
-
Backlog priority:600
The newly created ~/Nuxeo Drive folder is not easily accessible under OSX especially under 10.8 / Mountain Lion where the home folder is not visible by default in the finder and other "file browse" menu typically used to open or save a document in applications such as LibreOffice or Keynote.
We should thus register the Nuxeo Drive folder as a Finder favorite when creating it.
To achieve this, we can use the Foundation / LaunchServices API available from PyObjC on OSX platforms:
For instance, we could do something such as:
from LaunchServices import * lst = LSSharedFileListCreate(None, kLSSharedFileListFavoriteItems, None) item = LSSharedFileListInsertItemURL(lst, kLSSharedFileListItemBeforeFirst, "Nuxeo Drive", None, CFURLCreateWithString(None, "file:///Users/user/Nuxeo Drive", None), {}, [])
- depends on
-
NXDRIVE-337 Register the Nuxeo Drive data folder as a favorite under Windows
- Resolved
- is required by
-
NXDRIVE-338 Register Nuxeo Drive folder as a favorite under Mac OS
- Resolved