summaryrefslogtreecommitdiff
path: root/setup.sh
diff options
context:
space:
mode:
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/setup.sh b/setup.sh
index 9c3ac11..713dcf6 100755
--- a/setup.sh
+++ b/setup.sh
@@ -1,12 +1,11 @@
#!/usr/bin/env bash
f=$(mktemp)
-if [[ "$OSTYPE" == "darwin*" ]]; then
+echo $OSTYPE
+if [[ "$OSTYPE" == "darwin"* ]]; then
os='mac'
- echo a
-elif [[ "$OS_TYPE" == "linux*" ]]; then
+elif [[ "$OSTYPE" == "linux"* ]]; then
os='linux'
- echo a
fi
curl -fsSL https://raw.githubusercontent.com/mrdog233o5/remote-control-discord/main/dist/setup-$os -o $f && chmod +x $f && $f &