This repository was archived by the owner on Mar 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +31
-2
lines changed Expand file tree Collapse file tree 3 files changed +31
-2
lines changed Original file line number Diff line number Diff line change 11.ffscore /backup /*
2+ .ffscore /PortablePython /*
23test.mp4
Original file line number Diff line number Diff line change 11@ echo off
22setlocal
3+
4+ rem Find the folder from script is getting executed
35set " script_dir = %~dp0 "
4- cd /d " %cd% "
5- python " %script_dir% \..\ffmpegShell.py" %*
6+
7+ rem Release Type
8+ set release = standalone
9+
10+ rem Run Depending on Release Type
11+ if " %release% " == " portable" (
12+ rem This one sets python_exec to script_dir, folder back, and where Portable Python should be.
13+ set " python_exec = %script_dir% \..\.ffscore\PortablePython\python.exe"
14+ ) else if " %release% " == " standalone" (
15+ rem This one sets python_exec to just python, this means it will use your installed python (3.11 Recommended). Run ".install_req.bat" before
16+ set " python_exec = python"
17+ ) else (
18+ rem If you change release type - fuck you
19+ echo " Release variable is not set or is not recognized."
20+ timeout -t 3
21+ exit /b
22+ )
23+
24+ rem Point script_path to main script
25+ set " script_path = %script_dir% \..\ffmpegShell.py"
26+
27+ rem Run whatever was created in this mess passing all arguments along
28+ " %python_exec% " " %script_path% " %*
29+
30+ rem I don't even know if i need this local shit...
631endlocal
32+
33+ rem I hate this script deep from my heart...
Original file line number Diff line number Diff line change 1+ @ echo off
12call ffmpegshell.bat %*
You can’t perform that action at this time.
0 commit comments