update_appium_arch.sh 350 B

123456789101112131415
  1. #!/bin/bash
  2. # Set superuser privileges command if not set
  3. if [[ -z $su ]]; then
  4. export su="sudo"
  5. fi
  6. cd || return
  7. $su pacman -Sy --noconfirm --needed npm cmake
  8. $su npm install -g appium --unsafe-perm=true --allow-root
  9. $su npm install -g appium-doctor
  10. #$su npm install -g opencv4nodejs --unsafe-perm=true --allow-root
  11. npm install wd
  12. cd - || return