Skip to content

Commit

Permalink
Update upp
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-hc authored Apr 7, 2022
1 parent 946e8ed commit 43ccd31
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tools/upp
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,8 @@ function install() {
app=`echo $apps | jq '.[0]'`
download_link=`echo $app | jq -r '.links[] | select(.type=="Download") .url'`
url=$(get_appimage_path $download_link)
wget $url -P ./tmp/
chmod +x ./tmp/*mage
version=$(cd ./tmp && ls -1 *mage)
echo $version >> ./version
mv ./tmp/*mage ./$1
rm -R -f ./tmp
wget $url
chmod +x ./*mage
}

function get_appimage_path() {
Expand Down

0 comments on commit 43ccd31

Please sign in to comment.