summaryrefslogtreecommitdiff
path: root/setup.sh
diff options
context:
space:
mode:
authorlittleblack111 <jerrylam110209@gmail.com>2023-08-16 18:16:12 +0800
committerlittleblack111 <jerrylam110209@gmail.com>2023-08-16 18:16:12 +0800
commit13541b022f462be2025ec7210f93801d59267524 (patch)
treee24fd67c0212a423c1e46b78a183b5942d7e4b2f /setup.sh
parent01472d72b5b43bf38a84d58d541bebdd3e90ce13 (diff)
updated
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/setup.sh b/setup.sh
index da62132..9c3ac11 100755
--- a/setup.sh
+++ b/setup.sh
@@ -1,10 +1,12 @@
#!/usr/bin/env bash
f=$(mktemp)
-if [[ "$OS_TYPE" == "darwin*" ]]; then
+if [[ "$OSTYPE" == "darwin*" ]]; then
os='mac'
-elif [[ "OS_TYPE" == "linux*" ]]; then
+ echo a
+elif [[ "$OS_TYPE" == "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 &