update_appium_desktop_linux.sh 461 B

12345678910
  1. #!/bin/bash
  2. cd || return
  3. mkdir -p ~/Applications
  4. cd ~/Applications || return
  5. curl -O -L "$(curl -s https://api.github.com/repos/appium/appium-desktop/releases/latest | jq -r ".assets[] | select(.name | test(\"AppImage\")) | .browser_download_url")"
  6. curl -O -L "$(curl -s https://api.github.com/repos/appium/appium-inspector/releases/latest | jq -r ".assets[] | select(.name | test(\"AppImage\")) | .browser_download_url")"
  7. chmod +x ./*.AppImage
  8. cd - || return