Compare commits

..

2 Commits

Author SHA1 Message Date
the-sane
5e4cebb090 bump version 2023-04-21 13:16:48 -04:00
the-sane
3fc191102b Work around gitlab api nonsense
direct_asset_url is no longer a direct url
2023-04-21 13:16:29 -04:00

View File

@ -220,7 +220,7 @@ lug_wiki="https://starcitizen-lug.github.io"
# Github repo and script version info
repo="starcitizen-lug/lug-helper"
releases_url="https://github.com/$repo/releases"
current_version="v2.6.3"
current_version="v2.6.4"
############################################################################
############################################################################
@ -1389,7 +1389,7 @@ download_install() {
fi
# Get the selected download url
download_url="$(curl -s "$contributor_url$query_string" | grep -Eo "\"$search_key\": ?\"[^\"]+$download_file\"" | cut -d '"' -f4)"
download_url="$(curl -s "$contributor_url$query_string" | grep -Eo "\"$search_key\": ?\"[^\"]+$download_file\"" | cut -d '"' -f4 | sed 's|/-/blob/|/-/raw/|')"
# Sanity check
if [ -z "$download_url" ]; then