Skip to content

Commit

Permalink
fix pyinstaller (#1031)
Browse files Browse the repository at this point in the history
  • Loading branch information
aw-was-here authored Mar 31, 2024
1 parent d41775d commit 7c85cad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ set -e

SYSTEM=$1
VERSION=$(git describe --tags)
DISTDIR=NowPlaying-"${VERSION}-${SYSTEM}"
UNAMESYS=$(uname -s)

if [[ -z "${SYSTEM}" ]]; then
Expand Down Expand Up @@ -32,6 +31,8 @@ case "${SYSTEM}" in
;;
esac

DISTDIR=NowPlaying-"${VERSION}-${SYSTEM}"

PYTHONBIN=$(command -v "${PYTHON}")
echo "*****"
echo "* Building on ${SYSTEM} / ${UNAMESYS}"
Expand Down Expand Up @@ -128,5 +129,5 @@ if [[ "${SYSTEM}" == "macosx" ]]; then
fi

if [[ ${SYSTEM} != "windows" ]]; then
zip -r "${DISTDIR}".zip "${DISTDIR}"
zip --symlinks -r "${DISTDIR}".zip "${DISTDIR}"
fi

0 comments on commit 7c85cad

Please sign in to comment.