From e42541c20b96614271f4266c698bdb8ad95d0ce8 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 16 Aug 2023 18:18:37 +0800 Subject: updated --- setup.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'setup.sh') 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 & -- cgit v1.2.3