execUbuntu.sh 615 B

1234567891011121314151617181920212223
  1. #!/bin/sh
  2. pyinstaller --clean --onedir --noconfirm \
  3. --distpath ubuntu/ \
  4. --workpath ubuntu/build \
  5. --specpath ubuntu \
  6. --name baangt \
  7. --add-data '../baangt/ressources/baangtLogo2020Small.png:ressources' \
  8. --add-data '../examples/:examples/.' \
  9. --add-data '../browsermob-proxy:browsermob-proxy/.' \
  10. baangtIA.py
  11. # Remove Screenshots and Logs
  12. rm -r ubuntu/baangt/examples/Screenshots
  13. rm -r ubuntu/baangt/examples/Logs
  14. # Create ZIP-file
  15. mkdir executables
  16. rm executables/baangt_ubuntu_executable.tar.gz
  17. tar -zcvf executables/baangt_ubuntu_executable.tar.gz ubuntu/baangt/
  18. # Remove build folder
  19. rm -r ubuntu