-
Notifications
You must be signed in to change notification settings - Fork 17.1k
Closed
Description
- Electron version: 1.6.2
- Operating system: macOS 10.12.3
Actual behavior
I faced with strange behaviour of <input type='file' /> in Electron.
You can select special Macs' folders - app folders (for example /Applications/Calculator.app).
In Finder it looks like file, but it's directory!
Expected behavior
There are two possible ways.
Chromeway (and Safari). In real Chrome you can selectCalculator.appfrom<input type='file' />. But Chrome transparently createdCalculator.app.zipand attached this archive to input.Firefoxway. In Firefox you can not select any folders from<input type='file' />
How to reproduce
I have created simple fiddle for that https://jsfiddle.net/s7c7k33b/ for testing in different browsers and Electron
Reactions are currently unavailable