open_file
open_file copied to clipboard
Type does not work on MacOS
type argument is ignored on MacOS.
OpenFile version: 3.5.10
Example:
- code:
OpenFile.open('file.md', type: 'text/plain') - result: file.md is opened in default app for .md files
- expected: file.md is open in default app for text files
DocumentInteraction auto on iOS/MacOS
OpenFile.open('file.md', type: 'public.plain-text') does not work either