-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathRun_VSR_Pro_Debug.bat
More file actions
32 lines (27 loc) · 842 Bytes
/
Run_VSR_Pro_Debug.bat
File metadata and controls
32 lines (27 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
@echo off
setlocal EnableDelayedExpansion
title Video Subtitle Remover Pro (Debug)
cd /d "%~dp0"
if not exist "venv\Scripts\python.exe" (
echo.
echo ============================================================
echo VIDEO SUBTITLE REMOVER PRO (DEBUG)
echo ============================================================
echo.
echo First-time setup required.
echo Preparing the runtime and dependencies...
echo.
python setup.py
if errorlevel 1 (
echo.
echo Setup did not complete. Review the messages above, then try again.
pause
exit /b 1
)
)
call venv\Scripts\activate.bat
echo Launching Video Subtitle Remover Pro in debug mode...
echo The console will stay open after exit so you can review logs and tracebacks.
echo.
python VideoSubtitleRemover.py
pause