1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-17 21:12:34 +01:00
Files
OpenRCT2/scripts/get-discord-rpc
2020-12-09 22:16:51 +01:00

15 lines
455 B
Bash
Executable File

#!/bin/bash
set -e
if [[ $(uname) == "Linux" ]]; then
basedir="$(readlink -f `dirname $0`/..)"
elif [[ $(uname) == "Darwin" ]]; then
basedir="$(perl -MCwd=abs_path -le 'print abs_path readlink(shift);' `dirname $0`/..)"
else
echo "Error: unknown OS: $(uname)"
exit 1
fi
cd $basedir
git clone https://github.com/discordapp/discord-rpc -b v3.4.0
git clone https://github.com/janisozaur/rapidjson discord-rpc/thirdparty/rapidjson -b patch-1