silverwind / default-gateway

Get the default network gateway, cross-platform.
86 stars 19 forks source link

Add FreeBSD support #4

Closed karli-sjoberg closed 7 years ago

karli-sjoberg commented 7 years ago

Used "darwin.js" as a template, which worked great, except for some very minor adjustments. Tested to the point of "Works for me™" :)

silverwind commented 7 years ago

Thanks! Could you also update the os and files arrays in package.json? Just commit it and push to the same branch.

karli-sjoberg commented 7 years ago

Right, sh$t I forgot about that. I'll get on it right away!

karli-sjoberg commented 7 years ago

Done!

silverwind commented 7 years ago

Okay, I'll test this as soon as my FreeBSD VM finishes compiling stuff.

silverwind commented 7 years ago

Thanks! Confirmed working. It's released as v2.2.0.

karli-sjoberg commented 7 years ago

Awesome, now I have installed TheForeman again, thanks!