shayne / go-wsl2-host

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

Add direct run mode #81

Closed wcb33 closed 1 year ago

wcb33 commented 1 year ago

Temporary solutions for #77 #67 #65 .

eggbean commented 1 year ago

Is it possible to make run the default without the need for an argument?

This would make it possible to run it as a Scheduled Task without a window coming up while it's being executed. The other possibility is to make it work when run in the SYSTEM account, but I suspect that would be a lot more difficult.