use curl everywhere to run out of the box on Mac
This commit is contained in:
@@ -14,7 +14,7 @@ if [ -e "OpenRA.app" ]; then
|
||||
exit 2
|
||||
fi
|
||||
|
||||
wget https://github.com/OpenRA/OpenRALauncherOSX/releases/download/${LAUNCHER_TAG}/launcher.zip || exit 3
|
||||
curl -s -L -O https://github.com/OpenRA/OpenRALauncherOSX/releases/download/${LAUNCHER_TAG}/launcher.zip || exit 3
|
||||
unzip launcher.zip
|
||||
rm launcher.zip
|
||||
|
||||
|
||||
@@ -22,9 +22,9 @@ make package
|
||||
find . -path "*.mdb" -delete
|
||||
|
||||
test -e Changelog.md && rm Changelog.md
|
||||
wget https://raw.githubusercontent.com/wiki/OpenRA/OpenRA/Changelog.md
|
||||
curl -s -L -O https://raw.githubusercontent.com/wiki/OpenRA/OpenRA/Changelog.md
|
||||
|
||||
wget http://daringfireball.net/projects/downloads/Markdown_1.0.1.zip
|
||||
curl -s -L -O http://daringfireball.net/projects/downloads/Markdown_1.0.1.zip
|
||||
unzip Markdown_1.0.1.zip
|
||||
rm -rf Markdown_1.0.1.zip
|
||||
./Markdown_1.0.1/Markdown.pl Changelog.md > CHANGELOG.html
|
||||
|
||||
4
thirdparty/fetch-thirdparty-deps.sh
vendored
4
thirdparty/fetch-thirdparty-deps.sh
vendored
@@ -75,10 +75,10 @@ fi
|
||||
|
||||
if [ ! -f SDL2-CS.dll ]; then
|
||||
echo "Fetching SDL2-CS from GitHub."
|
||||
wget https://github.com/OpenRA/SDL2-CS/releases/download/20140407/SDL2-CS.dll
|
||||
curl -s -L -O https://github.com/OpenRA/SDL2-CS/releases/download/20140407/SDL2-CS.dll
|
||||
fi
|
||||
|
||||
if [ ! -f Eluant.dll ]; then
|
||||
echo "Fetching Eluant from GitHub."
|
||||
wget https://github.com/OpenRA/Eluant/releases/download/20140425/Eluant.dll
|
||||
curl -s -L -O https://github.com/OpenRA/Eluant/releases/download/20140425/Eluant.dll
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user