Skip to content
This repository was archived by the owner on Mar 19, 2025. It is now read-only.

Commit c2af13b

Browse files
committed
I FUCKING HATE MY LIFE
1 parent 608f7d0 commit c2af13b

File tree

3 files changed

+31
-2
lines changed

3 files changed

+31
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
.ffscore/backup/*
2+
.ffscore/PortablePython/*
23
test.mp4

RunShell/ffmpegshell.bat

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,33 @@
11
@echo off
22
setlocal
3+
4+
rem Find the folder from script is getting executed
35
set "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...
631
endlocal
32+
33+
rem I hate this script deep from my heart...

RunShell/ffs.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
@echo off
12
call ffmpegshell.bat %*

0 commit comments

Comments
 (0)