Replace deprecated native OpenAL with OpenAL Soft on macOS.
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
# MACOS_DEVELOPER_PASSWORD: App-specific password for the developer account
|
# MACOS_DEVELOPER_PASSWORD: App-specific password for the developer account
|
||||||
#
|
#
|
||||||
|
|
||||||
LAUNCHER_TAG="osx-launcher-20200306"
|
LAUNCHER_TAG="osx-launcher-20200316"
|
||||||
|
|
||||||
if [ $# -ne "2" ]; then
|
if [ $# -ne "2" ]; then
|
||||||
echo "Usage: $(basename "$0") tag outputdir"
|
echo "Usage: $(basename "$0") tag outputdir"
|
||||||
|
|||||||
7
thirdparty/fetch-thirdparty-deps-osx.sh
vendored
7
thirdparty/fetch-thirdparty-deps-osx.sh
vendored
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
LAUNCHER_TAG="osx-launcher-20200306"
|
LAUNCHER_TAG="osx-launcher-20200316"
|
||||||
|
|
||||||
download_dir="${0%/*}/download/osx"
|
download_dir="${0%/*}/download/osx"
|
||||||
mkdir -p "$download_dir"
|
mkdir -p "$download_dir"
|
||||||
@@ -25,3 +25,8 @@ if [ ! -f libfreetype.6.dylib ]; then
|
|||||||
echo "Fetching OS X FreeType library from GitHub."
|
echo "Fetching OS X FreeType library from GitHub."
|
||||||
curl -LOs https://github.com/OpenRA/OpenRALauncherOSX/releases/download/${LAUNCHER_TAG}/libfreetype.6.dylib
|
curl -LOs https://github.com/OpenRA/OpenRALauncherOSX/releases/download/${LAUNCHER_TAG}/libfreetype.6.dylib
|
||||||
fi
|
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
|
||||||
|
|||||||
8
thirdparty/fetch-thirdparty-deps.sh
vendored
8
thirdparty/fetch-thirdparty-deps.sh
vendored
@@ -71,11 +71,11 @@ fi
|
|||||||
if [ ! -f OpenAL-CS.dll ] || [ ! -f OpenAL-CS.dll.config ]; then
|
if [ ! -f OpenAL-CS.dll ] || [ ! -f OpenAL-CS.dll.config ]; then
|
||||||
echo "Fetching OpenAL-CS from GitHub."
|
echo "Fetching OpenAL-CS from GitHub."
|
||||||
if command -v curl >/dev/null 2>&1; then
|
if command -v curl >/dev/null 2>&1; then
|
||||||
curl -s -L -O https://github.com/OpenRA/OpenAL-CS/releases/download/20190907/OpenAL-CS.dll
|
curl -s -L -O https://github.com/OpenRA/OpenAL-CS/releases/download/20200316/OpenAL-CS.dll
|
||||||
curl -s -L -O https://github.com/OpenRA/OpenAL-CS/releases/download/20190907/OpenAL-CS.dll.config
|
curl -s -L -O https://github.com/OpenRA/OpenAL-CS/releases/download/20200316/OpenAL-CS.dll.config
|
||||||
else
|
else
|
||||||
wget -cq https://github.com/OpenRA/OpenAL-CS/releases/download/20190907/OpenAL-CS.dll
|
wget -cq https://github.com/OpenRA/OpenAL-CS/releases/download/20200316/OpenAL-CS.dll
|
||||||
wget -cq https://github.com/OpenRA/OpenAL-CS/releases/download/20190907/OpenAL-CS.dll.config
|
wget -cq https://github.com/OpenRA/OpenAL-CS/releases/download/20200316/OpenAL-CS.dll.config
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user