Properly set application name and desktop file

This commit is contained in:
Toast 2025-05-16 19:33:18 +02:00
parent 620acbeb30
commit dce9e5fcdc

View file

@ -11,8 +11,8 @@ from PySide6.QtQml import QQmlApplicationEngine
def main():
"""Initializes and manages the application execution"""
app: QGuiApplication = QGuiApplication(sys.argv)
app.desktopFileName = "xyz.xyz.toast003.leek"
app.applicationName = "Leek"
app.setDesktopFileName("xyz.toast003.leek")
app.setApplicationName("Leek")
engine = QQmlApplicationEngine()
"""Needed to close the app with Ctrl+C"""