diff --git a/pyinstaller_script_default.sh b/pyinstaller_script_default.sh index e4655ab..d429f05 100644 --- a/pyinstaller_script_default.sh +++ b/pyinstaller_script_default.sh @@ -1,5 +1,11 @@ #!/usr/bin/env bash +# Install pyinstaller +pyinstaller_version=$(pyinstaller --version 2>/dev/null) +if [ "$pyinstaller_version" != "5.9" ]; then + pip install pyinstaller==5.9 +fi + rm -rf build rm -rf dist -pyinstaller cli.py --name SimpleAdb --add-data "assets/*.png" -F \ No newline at end of file +pyinstaller cli.py --name SimpleAdb --add-data "./assets/*.png:assets" -F \ No newline at end of file