Skip to content

Commit

Permalink
fix: provide output filename to downloader
Browse files Browse the repository at this point in the history
  • Loading branch information
philclifford committed May 16, 2024
1 parent 5ab6041 commit 723acad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions 01-main/packages/bitwig-studio
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
DEFVER=1
get_website "https://www.bitwig.com/download/"
if [ "${ACTION}" != "prettylist" ]; then
URL=$(grep -o "https://www\.bitwig\.com/dl/Bitwig%20Studio/[[:digit:]]*.[[:digit:]]*.[[:digit:]]*/installer_linux" "${CACHE_FILE}")
VERSION_PUBLISHED="$(echo "${URL}" | cut -d "/" -f 6)"
URL="$(follow_url "$(grep -o "https://www\.bitwig\.com/dl/Bitwig%20Studio/[[:digit:]]*.[[:digit:]]*.[[:digit:]]*/installer_linux/" "${CACHE_FILE}")")"
VERSION_PUBLISHED="$(echo "\"${URL}\"" | cut -d "/" -f 4)"
FILE="${DOWNLOAD_DIR}/Bitwig_Studio_${VERSION_PUBLISHED}.deb"
fi
PRETTY_NAME="BitWig Studio"
WEBSITE="https://www.bitwig.com/"
Expand Down

0 comments on commit 723acad

Please sign in to comment.