From 94343a6f347192415daa12e36844a74d67c23e7e Mon Sep 17 00:00:00 2001 From: izzylaif Date: Fri, 10 Oct 2025 11:27:36 +0100 Subject: [PATCH] Create portable.bat This will make this portable. No installation of Python, VLC or FFMPEG is required, just put them into subfolders next to the script --- portable.bat | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 portable.bat diff --git a/portable.bat b/portable.bat new file mode 100644 index 0000000..327af9e --- /dev/null +++ b/portable.bat @@ -0,0 +1,11 @@ + +:: Place contents of VLC Player into VLC subfolder, FFMPEG to ffmpeg subfolder, and PythonXXX into Python subfolder. +:: Get the path of the folder where this batch file is located +set "SCRIPT_DIR=%~dp0" +:: Set PATH to include folders (which are next to the batch file) +set "PATH=%SCRIPT_DIR%VLC;%PATH%" +set "PATH=%SCRIPT_DIR%ffmpeg;%PATH%" +set "PATH=%SCRIPT_DIR%Python;%PATH%" +set "PATH=%SCRIPT_DIR%Python\Scripts;%PATH%" + +python softwhisper.py