diff --git a/build.sh b/build.sh index 41f0f96..a87abaf 100755 --- a/build.sh +++ b/build.sh @@ -1,3 +1,3 @@ #!/usr/bin/env bash source venv/bin/activate -pyinstaller --onefile main.py +pyinstaller --onefile --hidden-import=PIL --hidden-import=PIL._tkinter_finder main.py diff --git a/create_env.sh b/create_env.sh index 03c42cf..756c942 100755 --- a/create_env.sh +++ b/create_env.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash python3 -m venv venv source venv/bin/activate -pip install requests pyinstaller-hooks-contrib pyinstaller +pip install requests pyinstaller-hooks-contrib pyinstaller Pillow