Converts the Theia specific OpenFileDialogProps into an electron specific array.
Note: On Windows and Linux an open dialog can not be both a file selector and a directory selector,
so if you set properties to ['openFile', 'openDirectory'] on these platforms, a directory selector will be shown.
Converts the Theia specific
OpenFileDialogProps
into an electron specific array.Note: On Windows and Linux an open dialog can not be both a file selector and a directory selector, so if you set properties to ['openFile', 'openDirectory'] on these platforms, a directory selector will be shown.
See: https://github.com/electron/electron/issues/10252#issuecomment-322012159