From 91aaf404e64b98ec5dbdf4e19beb9b16da4204f5 Mon Sep 17 00:00:00 2001 From: globalcow Date: Tue, 31 Jul 2018 14:53:15 +0200 Subject: Add --windowed argument to pyinstaller for OS X --- bin/build-dist | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bin') diff --git a/bin/build-dist b/bin/build-dist index 79c89838..3b82e882 100755 --- a/bin/build-dist +++ b/bin/build-dist @@ -22,6 +22,12 @@ pyinstaller_args+="--hidden-import gi.repository.Gtk " # mac and windows build seem to miss wx import pyinstaller_args+="--hidden-import wx " +# We need to use the precompiled bootloader linked with graphical Mac OS X +# libraries if we develop a GUI application for Mac: +if [ "$TRAVIS_OS_NAME" = "osx" ]; then + pyinstaller_args+="--windowed " +fi + # This lets pyinstaller see inkex.py, etc. pyinstaller_args+="-p inkscape-0.92.3/share/extensions " -- cgit v1.2.3 From f674ccd4e9029a26f20efcd135356549a16c3c1c Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Wed, 1 Aug 2018 13:00:03 -0400 Subject: remove inkstitch.app --- bin/build-dist | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'bin') 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 -- cgit v1.2.3