Hello there! I struggle a lot with converting a .py to an .exe.
I have a Minecraft sound extractor in here and no matter if i bundle ffmpeg, ffprobe and patch_subprocess, the .exe won't work for others if they won't have these files idk what to do honestly.
Here the code itself and the patch_subprocess.py
Help pls:_)
patch_subprocess.py:
class NoWindowPopen(subprocess.Popen):
def __init__(self, *args, **kwargs):
startupinfo = subprocess.STARTUPINFO()
startupinfo.dwFlags = subprocess.CREATE_NEW_CONSOLE | subprocess.STARTF_USESHOWWINDOW
startupinfo.wShowWindow = subprocess.SW_HIDE
kwargs["startupinfo"] = startupinfo
super().__init__(*args, **kwargs)
subprocess.Popen = NoWindowPopen```