From 76b1ee843fe7fe2c741e65bcf35b0d674106a0de Mon Sep 17 00:00:00 2001 From: Shaw Berrington <145168741+itsameshaw@users.noreply.github.com> Date: Sun, 26 Oct 2025 14:30:25 +0100 Subject: [PATCH] Making running bat file less scary with feedback Cause no one likes command prompt window opens and closes very quickly ;) --- adbreak/replace.bat | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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