- Electron Version: master
- Operating System (Platform and Version): macOS 10.13
- Last known working Electron version: N/A
Expected Behavior
Application bundles cannot be selected as they are directories, not files
Actual behavior
Application bundles can be selected, but are not handled properly as they are not files
To Reproduce
in Electron default_app:
var input = document.createElement('input');
input.type = 'file';
input.click();
Additional Information
- Firefox: uses
[dialog setTreatsFilePackagesAsDirectories:YES]
- Chrome & Safari: creates a ZIP file containing the bundle contents automatically