mirror of
https://github.com/Phantop/appdwarf.git
synced 2025-01-09 05:37:04 +00:00
github: prevent fetching armh binaries
This commit is contained in:
parent
54343023d8
commit
000c2d6e2c
|
@ -6,5 +6,5 @@ LINK2="$(echo $1/releases | sed 's|github.com|api.github.com/repos|')"
|
|||
if ! grep github.com <<< "$1"; then
|
||||
LINK2="$(curl "$1" | grep -o https.\*releases | sed 's|github.com|api.github.com/repos|')"
|
||||
fi
|
||||
LINK3="$(curl "$LINK2" | grep -v arm64 | grep -om1 https.\*AppImage)"
|
||||
LINK3="$(curl "$LINK2" | grep -v arm64 | grep -v armh | grep -om1 https.\*AppImage)"
|
||||
appdwarf "${@:2}" -u "$LINK3"
|
||||
|
|
Loading…
Reference in a new issue