mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-04-29 17:25:34 +00:00
Yabridge install use GitHub API
This commit is contained in:
parent
af38abbff2
commit
2bf416ce93
@ -15,9 +15,10 @@ if ! command -v wine &> /dev/null; then
|
||||
fi
|
||||
|
||||
program=yabridgectl
|
||||
programVersion=$(yabridgectl --help | filterVersion)
|
||||
url=$(curl -s https://github.com/robbert-vdh/yabridge/releases/ | grep .tar.gz \
|
||||
| grep -v ubuntu | grep -Po '(?<=href=")[^"]*.tar.gz'| head -n 1)
|
||||
programVersion=$(yabridgectl --version | filterVersion)
|
||||
url=$(curl -s https://api.github.com/repos/robbert-vdh/yabridge/releases | \
|
||||
grep .tar.gz | grep releases/download | \
|
||||
grep -Po 'https://[^"]*.tar.gz' | grep -v ubuntu | head -n 1)
|
||||
url='https://github.com'$url
|
||||
urlVersion=$(echo $url | filterVersion | head -n 1)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user