diff --git a/adbreak/replace.bat b/adbreak/replace.bat index a884250..d7f7ef1 100644 --- a/adbreak/replace.bat +++ b/adbreak/replace.bat @@ -1,8 +1,20 @@ @echo off + +echo Attempting to overwrite ad files... setlocal for /r "." %%F in (details.html) do ( if exist "%%~fF" ( copy /y "%~dp0adbreak.html" "%%~fF" >nul ) ) -endlocal \ No newline at end of file +endlocal + +if %ERRORLEVEL% EQU 0 ( + echo Adbreak injected correctly! Eject the device and tap on any ad. +) else ( + echo Probably failed to inject Adbreak [%ERRORLEVEL%] +) + +echo. +echo Press any key to exit... +pause >nul