Browse Source

Handle clap as format on repo plugin page

Signed-off-by: falkTX <falktx@falktx.com>
pull/19/merge
falkTX 2 years ago
parent
commit
5ec81808e8
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      repo/generate-repo-page.sh

+ 4
- 1
repo/generate-repo-page.sh View File

@@ -159,7 +159,7 @@ for PACKAGE in ${PACKAGES[@]}; do
# screenshot
SCREENSHOT=${PACKAGE}
if [ ! -f "./screenshots/${SCREENSHOT}.png" ]; then
SCREENSHOT=$(echo "${SCREENSHOT}" | sed "s/-lv2//g" | sed "s/-vst2//g" | sed "s/-vst3//g" | sed "s/-vst//g")
SCREENSHOT=$(echo "${SCREENSHOT}" | sed "s/-lv2//g" | sed "s/-vst2//g" | sed "s/-vst3//g" | sed "s/-vst//g" | sed "s/-clap//g")
if [ ! -f "./screenshots/${SCREENSHOT}.png" ]; then
SCREENSHOT=""
fi
@@ -232,6 +232,9 @@ for PACKAGE in ${PACKAGES[@]}; do
if echo "${PACKAGE_PROVIDES}" | grep -q vst3-plugin; then
echo "VST3 "
fi
if echo "${PACKAGE_PROVIDES}" | grep -q clap-plugin; then
echo "CLAP "
fi
echo "</td></tr>"
fi
fi


Loading…
Cancel
Save