Validate file format
ppeczek opened this issue · 5 comments
Yes, but let's talk about it. My idea is quite naive: textfile with list of
supported extensions, splitting filename by ".", checking if extension is
supported
14 cze 2016 13:01 "Tobias Baunbæk" notifications@github.com napisał(a):
That's a good idea. Is it something you would want to try to do @ppeczek
https://github.com/ppeczek?—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#114 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ACy8fuwQBTjCDbEaRAgXVopUiVa4DvVzks5qLooOgaJpZM4I1Mwi
.
a module that does this would be cool (if it doesn't already exist)
Ok then, give me few hours and I will take care of this matter.
https://github.com/electron/electron/blob/master/docs/api/dialog.md
I found it but just for dialog. It has nothing to do with validation. I've already written part of code for extensions. I have to do sanitizer and we're home