You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

run_cura-lulzbot.sh 639B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
  3. # Set up Qt-related ENV variables
  4. if [ -e /opt/qt58/bin/qt58-env.sh ]; then
  5. source /opt/qt58/bin/qt58-env.sh
  6. elif [ -e /opt/qt56/bin/qt56-env.sh ]; then
  7. source /opt/qt56/bin/qt56-env.sh
  8. fi
  9. # Set up custom python3 site packages related to cura-lulzbot
  10. export PYTHONPATH=/opt/cura-lulzbot/python3.5/site-packages
  11. # Protobuf Custom location
  12. if [ -z "$CURA_LULZBOT_LIBS" ]; then
  13. CURA_LULZBOT_LIBS="/opt/cura-lulzbot/lib"
  14. fi
  15. if [ ! -z "$CURA_LULZBOT_LIBS" ]; then
  16. export LD_LIBRARY_PATH="$CURA_LULZBOT_LIBS:$LD_LIBRARY_PATH"
  17. fi
  18. # run cura-lulzbot
  19. $DIR/cura_app.py