mirror of
https://github.com/AquaMorph/dotfiles.git
synced 2025-04-30 01:35: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
|
fi
|
||||||
|
|
||||||
program=yabridgectl
|
program=yabridgectl
|
||||||
programVersion=$(yabridgectl --help | filterVersion)
|
programVersion=$(yabridgectl --version | filterVersion)
|
||||||
url=$(curl -s https://github.com/robbert-vdh/yabridge/releases/ | grep .tar.gz \
|
url=$(curl -s https://api.github.com/repos/robbert-vdh/yabridge/releases | \
|
||||||
| grep -v ubuntu | grep -Po '(?<=href=")[^"]*.tar.gz'| head -n 1)
|
grep .tar.gz | grep releases/download | \
|
||||||
|
grep -Po 'https://[^"]*.tar.gz' | grep -v ubuntu | head -n 1)
|
||||||
url='https://github.com'$url
|
url='https://github.com'$url
|
||||||
urlVersion=$(echo $url | filterVersion | head -n 1)
|
urlVersion=$(echo $url | filterVersion | head -n 1)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user