Allow plugins to be skipped at runtime (#7691)

Allows plugins (such as carla) to be skipped when not installed
This commit is contained in:
Tres Finocchiaro
2025-02-18 01:37:54 -05:00
committed by GitHub
parent bfacdd29f7
commit 7725d0024e
3 changed files with 48 additions and 1 deletions

View File

@@ -23,7 +23,8 @@ if command -v carla > /dev/null 2>&1; then
fi
done
else
echo "[$ME] Carla does not appear to be installed. That's OK, please ignore any related library errors." >&2
echo "[$ME] Carla does not appear to be installed, we'll remove it from the plugin listing." >&2
export "LMMS_EXCLUDE_PLUGINS=libcarla,${LMMS_EXCLUDE_PLUGINS}"
fi
# Additional workarounds for library conflicts