2016-08-29 15:57:08 +02:00
|
|
|
@ECHO OFF
|
2016-09-03 15:59:33 +02:00
|
|
|
|
|
|
|
if not exist "%WINDIR%\py.exe" (
|
|
|
|
ECHO :: ERROR :: Python 3.5 Runtime NOT FOUND...
|
|
|
|
ECHO :: ERROR :: Download and install lastest Python 3.5 for Windows from https://www.python.org/downloads/
|
|
|
|
ECHO :: ERROR :: Exit...
|
|
|
|
GOTO END
|
2016-10-17 05:08:08 +02:00
|
|
|
) ELSE (
|
2016-09-03 15:59:33 +02:00
|
|
|
GOTO PY35RT
|
|
|
|
)
|
|
|
|
:PY35RT
|
2016-12-16 11:34:13 +01:00
|
|
|
if not exist "%LOCALAPPDATA%\Programs\Python\Python35\Python35.dll" (
|
2016-09-03 15:59:33 +02:00
|
|
|
ECHO :: ERROR :: Python 3.5 Runtime NOT FOUND...
|
|
|
|
ECHO :: ERROR :: Download and install lastest Python 3.5 for Windows from https://www.python.org/downloads/
|
|
|
|
ECHO :: ERROR :: Exit...
|
|
|
|
GOTO END
|
2016-10-17 05:08:08 +02:00
|
|
|
) ELSE (
|
2016-09-03 15:59:33 +02:00
|
|
|
ECHO :: INFO :: Python 3.5 Runtime was found!
|
|
|
|
ECHO :: INFO :: Running main script...
|
|
|
|
GOTO :UPDATES
|
|
|
|
)
|
2016-08-29 15:57:08 +02:00
|
|
|
:UPDATES
|
|
|
|
::These create various alternate hosts files by combining and adding the gambling, porn, and social media extensions.
|
2016-10-17 05:08:08 +02:00
|
|
|
updateHostsFile.py -a -z -o alternates\gambling -e gambling
|
|
|
|
updateHostsFile.py -a -z -n -o alternates\porn -e porn
|
|
|
|
updateHostsFile.py -a -z -n -o alternates\social -e social
|
|
|
|
updateHostsFile.py -a -z -n -o alternates\gambling-porn -e gambling porn
|
|
|
|
updateHostsFile.py -a -z -n -o alternates\gambling-social -e gambling social
|
|
|
|
updateHostsFile.py -a -z -n -o alternates\porn-social -e porn social
|
|
|
|
updateHostsFile.py -a -z -n -o alternates\gambling-porn-social -e gambling porn social
|
|
|
|
updateHostsFile.py -a -z -n
|
2016-08-29 15:57:08 +02:00
|
|
|
|
|
|
|
::Update the readmes.
|
|
|
|
updateReadme.py
|
|
|
|
|
|
|
|
GOTO END
|
|
|
|
:END
|