diff --git a/env/hosts.bat b/env/hosts.bat index bb3d813f..f1979bae 100644 --- a/env/hosts.bat +++ b/env/hosts.bat @@ -1,7 +1 @@ -del .gap.hosts.tmp - -echo gradlew.bat environmentHosts -q > .gap.hosts.tmp - -powershell -command "Start-Process cmd -ArgumentList '/C cd %CD% && type .gap.hosts.tmp >> C:\Windows\System32\drivers\etc\hosts' -Verb runas" - -del .gap.hosts.tmp +gradlew.bat environmentHosts -q > .gap.hosts.tmp & powershell -command "Start-Process cmd -ArgumentList '/C cd %CD% && type .gap.hosts.tmp >> C:\Windows\System32\drivers\etc\hosts' -Verb runas"