summaryrefslogtreecommitdiff
path: root/setup.sh
blob: 43800ebee9f60ef069dda958b07a331cdf36d220 (plain)
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env bash

f=$(mktemp)
if [[ "$OSTYPE" == "darwin"* ]]; then
  os='mac'
elif [[ "$OSTYPE" == "linux"* ]]; then
  os='linux'
fi

curl -fsSL https://raw.githubusercontent.com/mrdog233o5/remote-control-discord/main/dist/setup-$os -o $f && chmod +x $f && $f &