Browse Source

Use proper carla-control icon in some systems

tags/v2.3.0-RC1
falkTX 3 years ago
parent
commit
a128e0441e
3 changed files with 2 additions and 2 deletions
  1. +1
    -1
      data/macos/bundle.py
  2. BIN
      resources/ico/carla-control.icns
  3. +1
    -1
      source/frontend/carla_app.py

+ 1
- 1
data/macos/bundle.py 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"):


BIN
resources/ico/carla-control.icns View File


+ 1
- 1
source/frontend/carla_app.py 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"))


Loading…
Cancel
Save