13
0

Update MacOS installer to directly run Ardour w/o script wrapper

This commit is contained in:
Robin Gareus 2019-10-23 22:55:10 +02:00
parent 9cae196a04
commit 81ef802869
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -224,16 +224,21 @@ cp -R Resources $APPROOT
rm -f Info.plist rm -f Info.plist
rm -f Resources/InfoPlist.strings rm -f Resources/InfoPlist.strings
#
# if we build a bundle without jack, then # if we build a bundle without jack, then
# make the Ardour executable a helper # make the Ardour executable a helper
# script that checks to see if JACK is # script that checks to see if JACK is
# installed. # installed.
# #
#cp startup_script $APPROOT/MacOS/$EXECUTABLE
#chmod 775 $APPROOT/MacOS/$EXECUTABLE
#MAIN_EXECUTABLE=Ardour.bin ## used in startup_script
cp startup_script $APPROOT/MacOS/$EXECUTABLE # For Catalina we cannot use a shell script wrapper
chmod 775 $APPROOT/MacOS/$EXECUTABLE # the binary mentioned in the .plist must match
MAIN_EXECUTABLE=Ardour.bin ## used in startup_script # the actual executable, otherwise the user is
# not prompted to grant permissions to access the audio-device
MAIN_EXECUTABLE=$EXECUTABLE
echo "Copying ardour executable ...." echo "Copying ardour executable ...."
cp $BUILD_ROOT/gtk2_ardour/ardour-$release_version $APPROOT/MacOS/$MAIN_EXECUTABLE cp $BUILD_ROOT/gtk2_ardour/ardour-$release_version $APPROOT/MacOS/$MAIN_EXECUTABLE