summaryrefslogtreecommitdiff
path: root/bin/build-dist
diff options
context:
space:
mode:
Diffstat (limited to 'bin/build-dist')
-rwxr-xr-xbin/build-dist5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/build-dist b/bin/build-dist
index 3b82e882..a96b7506 100755
--- a/bin/build-dist
+++ b/bin/build-dist
@@ -51,6 +51,11 @@ mkdir dist/bin
mv dist/inkstitch/* dist/bin
mv dist/bin dist/inkstitch
+# on Mac, pyinstaller creates a .app version as well, but we don't need that
+if [ "$TRAVIS_OS_NAME" = "osx" ]; then
+ rm -rf dist/inkstitch.app/
+fi
+
# Inkscape doesn't let us run native binaries as extensions(?!). Instead we
# add this stub script which executes the binary that pyinstaller creates.
cp stub.py dist/inkstitch.py