mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-11 00:58:14 +08:00
Build full installer via clean_build.sh (#157)
* OSX: Fix lack of newlines in build messages * OSX: Build full installer as part of the installer build via cmake
This commit is contained in:
committed by
Adrian Lucrèce Céleste
parent
ab887a4e90
commit
b8fa610f8f
5
dist/macos/bundle/build_installer.sh.in
vendored
5
dist/macos/bundle/build_installer.sh.in
vendored
@@ -41,7 +41,10 @@ cp @CMAKE_RUNTIME_OUTPUT_DIRECTORY@/* . || exit 1
|
||||
# TODO: this is hacky and will probably break if there is more than one qt
|
||||
# version installed. need a better way to find this library
|
||||
B_COCOA=$(find /usr/local/Cellar/qt -type f -name libqcocoa.dylib | head -1)
|
||||
if [ $? -ne 0 ] || [ "x$B_COCOA" = "x" ]; then
|
||||
if [ "x$B_COCOA" = "x" ]; then
|
||||
B_COCOA=$(find /opt/local/libexec/qt5/plugins -type f -name libqcocoa.dylib | head -1)
|
||||
fi
|
||||
if [ "x$B_COCOA" = "x" ]; then
|
||||
echo "Could not find cocoa platform plugin"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user