Use proper carla-control icon in some systems

This commit is contained in:
falkTX 2021-01-02 02:07:02 +00:00
parent ba758223ce
commit a128e0441e
3 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ options = {
}
boptions = {
"iconfile": "./resources/ico/carla.icns"
"iconfile": "./resources/ico/carla%s.icns" % ("-control" if SCRIPT_NAME == "Carla-Control" else "")
}
if SCRIPT_NAME in ("Carla", "Carla-Control"):

Binary file not shown.

View File

@ -161,7 +161,7 @@ class CarlaApplication():
if gCarla.nogui:
return
if appName.lower() == "carla-control":
if appName == "Carla2-Control":
if QT_VERSION >= 0x50700:
self.fApp.setDesktopFileName("carla-control")
self.fApp.setWindowIcon(QIcon(":/scalable/carla-control.svg"))