Files
fcco-Converter/main.py
T

30 lines
577 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env python3
"""
fcco-Converter V2 Einstiegspunkt
Startet die grafische Benutzeroberfläche.
"""
import sys
import platform
# 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()