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