Skip to content

Commit

Permalink
Update makedistro-mac to work with latest libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
machinewrapped committed Jun 3, 2024
1 parent 3f0ed66 commit ac45b6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/makedistro-mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
source ./envsubtrans/bin/activate
pip3 install --upgrade pip
pip install --upgrade --target ./envsubtrans/lib pyinstaller
pip install --upgrade --target ./envsubtrans/lib PyInstaller pyinstaller-hooks-contrib
pip install --upgrade --target ./envsubtrans/lib charset_normalizer
pip install --upgrade --target ./envsubtrans/lib -r requirements.txt
pip install --upgrade --target ./envsubtrans/lib openai
Expand All @@ -17,4 +18,4 @@ if [ $? -ne 0 ]; then
exit $?
fi

pyinstaller --noconfirm --additional-hooks-dir="PySubtitleHooks" --hidden-import="PySide6.QtGui" --paths="./envsubtrans/lib" --paths="./envsubtrans/lib/python3.12/site-packages" --add-data "theme/*:theme/" --add-data "assets/*:assets/" --add-data "instructions*:instructions/" --add-data "LICENSE:." --noconfirm scripts/gui-subtrans.py
pyinstaller --noconfirm --additional-hooks-dir="PySubtitleHooks" --hidden-import="PySide6.QtGui" --hidden-import="pkg_resources.extern" --paths="./envsubtrans/lib" --paths="./envsubtrans/lib/python3.12/site-packages" --add-data "theme/*:theme/" --add-data "assets/*:assets/" --add-data "instructions*:instructions/" --add-data "LICENSE:." --noconfirm scripts/gui-subtrans.py

0 comments on commit ac45b6d

Please sign in to comment.