mafintosh / playback

Video player built using electron and node.js
https://mafintosh.github.io/playback/
MIT License
2.01k stars 237 forks source link

add files to recent files when opened with dialog #100

Closed phated closed 8 years ago

phated commented 8 years ago

During development, I've had to frequently use the Open dialog to add a file to the playlist. I just found out that electron actually exposes an API for the "recent files" list when right-clicking on the dock icon. This couple line change allows this to work on OSX but it looks like Windows won't actually show the items in the list without registry changes, so I didn't try that.

Screenshot on OSX: screen shot 2016-04-13 at 3 56 42 pm

freeall commented 8 years ago

As always, nice work :)