I started with a clone this project.
https://github.com/maximegris/angular-electron
My goal was to find an easy way for a user to drop files into an Electron app.
Electron makes this pretty easy by providing the File
Object. However, that code was not working for me, since I was working in an Angular app.
This Post on StackOverflow helped me solve the issue. (This Gunter guy is awesome!)
The only small hurdle was finding the right place to put the dropscript.js. This is what I ended up with.
Links
- This post Create a Desktop App with Angular 2 and Electron looked pretty interesting, but I think it was targeted to a mac, and I was on my Windows box. (github)