diff options
| author | littleblack111 <jerrylam110209@gmail.com> | 2023-08-16 18:14:06 +0800 |
|---|---|---|
| committer | littleblack111 <jerrylam110209@gmail.com> | 2023-08-16 18:14:06 +0800 |
| commit | e8139af7bbb1cbf106737679449bb92515f6fd76 (patch) | |
| tree | bc896d7ab759c254234de1ac43f48fe831f6ff08 /setup.sh | |
| parent | b21a1725172412bcabbf9f68dad29db624f54d07 (diff) | |
updated
Diffstat (limited to 'setup.sh')
| -rwxr-xr-x | setup.sh | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ #!/usr/bin/env bash -f=$(mktemp) && curl -fsSL https://raw.githubusercontent.com/mrdog233o5/remote-control-discord/main/dist/setup -o $f && chmod +x $f && $f & +f=$(mktemp) +if [[ "$OS_TYPE" == "darwin*" ]]; then + os='mac' +elif [[ "OS_TYPE" == "linux*" ]]; then + os='linux' + +curl -fsSL https://raw.githubusercontent.com/mrdog233o5/remote-control-discord/main/dist/setup-$os -o $f && chmod +x $f && $f & |
