#!/usr/bin/env python3 """ fcco-Converter V2 – Einstiegspunkt 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": try: import ctypes ctypes.windll.shcore.SetProcessDpiAwareness(2) except Exception: try: ctypes.windll.user32.SetProcessDPIAware() except Exception: pass def main(): from fcco_converter.gui import App app = App() app.mainloop() if __name__ == "__main__": main()