node-installer
node-installer copied to clipboard
fix: use the `ip` command
- fixes #41
- fix: remove usage of deprecated
ifconfig
Now using ip
(which is available since at least 2011).
- fix: stick with
ip
for the route check
The new code is more readable and contains less lines actually. But I needed to keep the macOS compatibility, so that's why the patch is more important.
If the macOs support can be dropped, then I could simplify more, LMK.