Skip to content

Commit

Permalink
getapp: adapt for arch apps
Browse files Browse the repository at this point in the history
  • Loading branch information
Phantop committed Jun 10, 2024
1 parent 70edc26 commit 1cf64d2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/getapp
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ set -e # exit on failure
IFS=$(printf '\n\t') # smarter ifs

gh run download -n "$1"
chmod +x "$1"
mv "$1" "$(dirname "$(realpath "$0")")/bin"
file="$(echo "$1" | sed 's/^arch-//')"
chmod +x "$file"
mv "$file" "$(dirname "$(realpath "$0")")/bin"

0 comments on commit 1cf64d2

Please sign in to comment.