KASM-7016 Fix Slack not detecting version in NZ

This commit is contained in:
Dmitry Maksyoma 2025-03-17 18:07:04 +13:00
parent 8f4a7e6dbc
commit 89e5d9caf3
No known key found for this signature in database

View File

@ -8,7 +8,7 @@ if [ "${ARCH}" == "arm64" ] ; then
fi
# This might prove fragile depending on how often slack changes it's website.
version=$(curl -q https://slack.com/downloads/linux | grep page-downloads__hero__meta-text__version | sed 's/.*Version //g' | cut -d "<" -f1 | head -1)
version=$(wget -O- https://slack.com/downloads/linux | grep page-downloads__hero__meta-text__version | sed 's/.*Version //g' | cut -d "<" -f1 | head -1)
echo Detected slack version $version