From 647a1d985a169c4d65bde67f1df7b0f5c6c7e76e Mon Sep 17 00:00:00 2001 From: Alessandro Mautone Date: Tue, 2 Jan 2024 20:21:55 +0100 Subject: [PATCH] Update release script to include dependencies --- pyinstaller_script_default.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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