fix: bundle FFmpeg offline, fix NoneType write crash in windowed apps, fallback to system PATH

This commit is contained in:
joel
2026-07-30 08:46:51 +02:00
parent cdf6073cba
commit fca6637f50
3 changed files with 46 additions and 2 deletions
+7
View File
@@ -7,6 +7,13 @@ Startet die grafische Benutzeroberfläche.
import sys
import platform
import io
# Behebe NoneType 'write' Fehler in windowed GUI-Modus (PyInstaller --windowed auf Windows/macOS)
if sys.stdout is None:
sys.stdout = io.StringIO()
if sys.stderr is None:
sys.stderr = io.StringIO()
# DPI-Awareness auf Windows setzen (vor dem GUI-Import)
if platform.system() == "Windows":