On Apr 30, 12:49 pm, Nathan Rajlich <
nat...@tootallnate.net> wrote:
> -1 point for still using a wscript file :p
>
> You're already bundling libmagic so Windows support might be easy. You'd
> need to start out with adding a binding.gyp file so that the module can be
> built with node-gyp.
Yeah, I rarely write C++ addons, so I'm not quite familiar with the
gyp stuff yet. I'll get to adding a gyp file for mmmagic soon enough
though.
My main concerns about Windows compatibility were mostly to do with
libmagic itself, as it does have some *nix-only features like the
option to use a file descriptor for content type detection and
whatnot. I'll probably have to end up manually removing that stuff I
guess.