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