updateHostsWindows.bat: fix python exe cmd
authorFadeMind <redacted>
Wed, 30 Sep 2020 14:27:01 +0000 (16:27 +0200)
committerGitHub <redacted>
Wed, 30 Sep 2020 14:27:01 +0000 (16:27 +0200)
Python for Windows using py.exe launcher command and should be used here as well.

updateHostsWindows.bat

index ee842a40930a49d8bbe6c982a18b82c6d8366cc5..de17bf2b42a892fdce2b04a33d87dd52ae0e7169 100644 (file)
@@ -49,7 +49,7 @@ if not exist "%WINDIR%\System32\drivers\etc\hosts.skel" (
 
 :UpdateHosts
 :: Update hosts file
-python updateHostsFile.py --auto --minimise
+py updateHostsFile.py --auto --minimise
 
 :: Copy over the new hosts file in-place
 copy /y /v hosts "%WINDIR%\System32\drivers\etc\"
git clone https://git.99rst.org/PROJECT