Hide the mount directory in Finder until the mount actually occurs
Mounting shares under ~/Networkshares is done in two steps:
- create mount directory
- call
NetFSMountURLSync
- if the call was not successful, delete the directory
Until the mount fails or wille be canceled due to a timeout, an empty directory will remain at the mount point.
@am93ypaj suggests:
The Network Share Mounter can hide the mount directory and unhide it once the mount is complete. So the tasks could be:
- create mount directory
- hide the directory
- call
NetFSMountURLSync
- if the call was successful, unhide the directory
- if the call was not successful, delete the directory