Allows files(s) to be dragged inside the electron app as well as files to be dropped out (when dropped on the desktop e.g. the file will be copied to the destination.
Clone the Quick Start repository:
git clone https://github.com/electron/electron-quick-start
Go into the repository:
cd electron-quick-start
Install additional dependencies:
npm install jquery --save
Install the dependencies and run:
npm install
Run npm start
Note: The example also needs an icon to be places inside your app directory: elektron-drag-out-test/img/icon/folder.png
, change the path in main.js / renderer.js accordingly. You can grab one from here: flaticon.com