Replace deprecated native OpenAL with OpenAL Soft on macOS.

This commit is contained in:
Paul Chote
2020-03-16 22:44:24 +00:00
committed by abcdefg30
parent 3c2e9be248
commit 9faf9aa1b9
3 changed files with 11 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
#!/bin/bash
LAUNCHER_TAG="osx-launcher-20200306"
LAUNCHER_TAG="osx-launcher-20200316"
download_dir="${0%/*}/download/osx"
mkdir -p "$download_dir"
@@ -25,3 +25,8 @@ 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
if [ ! -f libopenal.1.dylib ]; then
echo "Fetching OS X OpenAL Soft library from GitHub."
curl -LOs https://github.com/OpenRA/OpenRALauncherOSX/releases/download/${LAUNCHER_TAG}/libopenal.1.dylib
fi