Created
July 31, 2021 16:58
-
-
Save genevera/4461e5130723cbb0775690430ce56ed2 to your computer and use it in GitHub Desktop.
Makes an app bundle for ardour 6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| PREFIX=$1 | |
| mkdir -p $PREFIX/Ardour6.app/Contents/MacOS | |
| mkdir -p $PREFIX/Ardour6.app/Contents/Resources | |
| sed -e "s?@ENV@??g" \ | |
| -e "s?@VERSION@?6?g" \ | |
| -e "s?@INFOSTRING@??g" \ | |
| -e "s?@IDSUFFIX@?Ardour6?g" \ | |
| -e "s?@BUNDLENAME@?Ardour6?g" \ | |
| -e "s?@EXECUTABLE@?Ardour6?g" < Info.plist.in > $PREFIX/Ardour6.app/Contents/Info.plist | |
| cp Ardour.icns $PREFIX/Ardour6.app/Contents/Resources/appIcon.icns | |
| cp typeArdour.icns $PREFIX/Ardour6.app/Contents/Resources/typeIcon.icns | |
| cat <<EOF > $PREFIX/Ardour6.app/Contents/MacOS/Ardour6 | |
| #!/bin/sh | |
| unset ARDOUR_BUNDLED | |
| ${PREFIX}/bin/ardour6 | |
| EOF | |
| chmod +x $PREFIX/Ardour6.app/Contents/MacOS/Ardour6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment