From 684f224ace18eac9e4355efeaa68b1279079f7b8 Mon Sep 17 00:00:00 2001 From: mierzwid Date: Thu, 3 Sep 2020 15:15:33 +0200 Subject: [PATCH] fixed hosts bat --- env/hosts.bat | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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"