Skip to content

Commit

Permalink
Fix Windows not building if py3bin is not present
Browse files Browse the repository at this point in the history
  • Loading branch information
malmeloo committed Jul 4, 2024
1 parent a184f3c commit 6834692
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/package-windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,10 @@ for script in bin/* py3bin/*; do
fi
done

cp -f py3bin/* lib/.
rm -rf py3bin
if [ -d "py3bin" ]; then
cp -f py3bin/* lib/.
rm -rf py3bin
fi

# Remove general purpose launcher
rm -rf ${OUTPUT_DIR}${INSTALL_PREFIX}/win-launcher.exe
Expand Down

0 comments on commit 6834692

Please sign in to comment.