Set desktop file and app name
This commit is contained in:
parent
02621b79aa
commit
010deddc8e
1 changed files with 2 additions and 0 deletions
|
|
@ -11,6 +11,8 @@ from PySide6.QtQml import QQmlApplicationEngine
|
||||||
def main():
|
def main():
|
||||||
"""Initializes and manages the application execution"""
|
"""Initializes and manages the application execution"""
|
||||||
app: QGuiApplication = QGuiApplication(sys.argv)
|
app: QGuiApplication = QGuiApplication(sys.argv)
|
||||||
|
app.desktopFileName = "xyz.xyz.toast003.leek"
|
||||||
|
app.applicationName = "Leek"
|
||||||
engine = QQmlApplicationEngine()
|
engine = QQmlApplicationEngine()
|
||||||
|
|
||||||
"""Needed to close the app with Ctrl+C"""
|
"""Needed to close the app with Ctrl+C"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue