Browse Source

put lib dir discovery in central location.

pull/244/head
Richard Henwood 6 years ago
parent
commit
83eaf8e372
2 changed files with 9 additions and 5 deletions
  1. +2
    -5
      src/claudia_launcher.py
  2. +7
    -0
      src/shared.py

+ 2
- 5
src/claudia_launcher.py View File

@@ -120,11 +120,8 @@ class ClaudiaLauncher(QWidget, ui_claudia_launcher.Ui_ClaudiaLauncherW):
self._parent = None
self._settings = None
self.m_ladish_only = False
if os.path.isdir("/usr/lib64"):
self.lib_path = "lib64"
else:
self.lib_path = "lib"
self.listDAW.setColumnWidth(0, 22)
self.lib_path = LIB_PATH
fself.listDAW.setColumnWidth(0, 22)
self.listDAW.setColumnWidth(1, 225)
self.listDAW.setColumnWidth(2, 150)
self.listHost.setColumnWidth(0, 22)


+ 7
- 0
src/shared.py View File

@@ -143,6 +143,13 @@ if PATH is None:
else:
PATH = PATH.split(os.pathsep)

# ------------------------------------------------------------------------------------------------------------
# Set PATH

LIB_PATH = "lib"
if os.path.isdir("/usr/lib64"):
LIB_PATH = "lib64"

# ------------------------------------------------------------------------------------------------------------
# Remove/convert non-ascii chars from a string



Loading…
Cancel
Save