30 lines
577 B
Python
30 lines
577 B
Python
#!/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() |