summarylogtreecommitdiffstats
path: root/check-update.sh
blob: 655aed963d92280be8acf31d47572eb6a963ea83 (plain)
1
2
3
4
5
6
7
#!/usr/bin/env bash

# NOTE:
# The output URL is cached by the Sidekick server, meaning it may not always reflect the latest version.
# As a result, the URL obtained can vary with each request.
# To ensure you get the most recent version URL, you may need to make multiple requests.
curl -s -I "https://api.meetsidekick.com/downloads/linux/deb" | grep -i "location" | awk '{print $2}'