Package mono inside the macOS app bundles.

This also removes the explicit dependency on mono's
packaged FreeType, which should allow development
builds to be used with homebrew-packaged mono.
This commit is contained in:
Paul Chote
2019-03-17 13:38:49 +00:00
committed by Oliver Brakmann
parent 872bf737e0
commit 54d5afed57
4 changed files with 10 additions and 5 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
LAUNCHER_TAG="osx-launcher-20171118"
LAUNCHER_TAG="osx-launcher-20190317"
download_dir="${0%/*}/download/osx"
mkdir -p "$download_dir"
@@ -18,5 +18,10 @@ fi
if [ ! -f Eluant.dll.config ]; then
echo "Fetching OS X Lua configuration file from GitHub."
curl -LOs https://raw.githubusercontent.com/OpenRA/OpenRALauncherOSX/${LAUNCHER_TAG}/dependencies/Eluant.dll.config
curl -LOs https://raw.githubusercontent.com/OpenRA/OpenRALauncherOSX/${LAUNCHER_TAG}/Eluant.dll.config
fi
if [ ! -f libfreetype.6.dylib ]; then
echo "Fetching OS X FreeType library from GitHub."
curl -LOs https://github.com/OpenRA/OpenRALauncherOSX/releases/download/${LAUNCHER_TAG}/libfreetype.6.dylib
fi