shayne / go-wsl2-host

Automatically update your Windows hosts file with the WSL2 VM IP address
1.65k stars 140 forks source link

Separe one-time hosts update to exexutable #65

Closed kratkyzobak closed 1 year ago

kratkyzobak commented 2 years ago

Would be nice to build only pkg/service as one time utility which can be less problematic to use than services (especially with domain/microsoft accounts). Also, IPs don't change so often, so in most cases, there should be enough to run command only once on startup time.