Skip to content

Commit

Permalink
Fix script update url
Browse files Browse the repository at this point in the history
- Fix script update url
  • Loading branch information
tmiland committed Oct 25, 2024
1 parent 998d93f commit 89e1430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion invidious_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ get_release_info() {
# Get latest release download url
get_latest_release() {
curl --silent "https://api.github.com/repos/$1/releases/latest" |
grep '"browser_download_url":' |
grep 'browser_download_url.*\.sh' |
sed -n 's#.*\(https*://[^"]*\).*#\1#;p'
}
LATEST_RELEASE=$(get_latest_release ${REPO_NAME})
Expand Down

0 comments on commit 89e1430

Please sign in to comment.