mirror of
https://github.com/StevenBlack/hosts.git
synced 2026-11-15 07:08:20 +00:00
updateHostsWindows.bat: fix python exe cmd
Python for Windows using py.exe launcher command and should be used here as well.
This commit is contained in:
1 parent
dccdf794a2
commit
7c1365787b
1 file changed
+1
-1
@@ -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\"
|
||||
|
||||
Reference in new issue
Block a user