diff options
| author | littleblack111 <jerrylam110209@gmail.com> | 2023-08-16 18:16:12 +0800 |
|---|---|---|
| committer | littleblack111 <jerrylam110209@gmail.com> | 2023-08-16 18:16:12 +0800 |
| commit | 13541b022f462be2025ec7210f93801d59267524 (patch) | |
| tree | e24fd67c0212a423c1e46b78a183b5942d7e4b2f /setup.sh | |
| parent | 01472d72b5b43bf38a84d58d541bebdd3e90ce13 (diff) | |
updated
Diffstat (limited to 'setup.sh')
| -rwxr-xr-x | setup.sh | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 & |
