Spaces:
Paused
Paused
Download setup.sh from mehr4n-m/raysonbits-dc: direct link, hf CLI and curl.
- Browser
- Download file 281 Bytes
-
https://huggingface.co/spaces/mehr4n-m/raysonbits-dc/resolve/main/setup.sh
- Command line
-
hf download hf://spaces/mehr4n-m/raysonbits-dc/setup.sh
-
curl -L -o setup.sh https://huggingface.co/spaces/mehr4n-m/raysonbits-dc/resolve/main/setup.sh
281 Bytes
| set -e | |
| RELEASE="https://github.com/XTLS/Xray-core/releases/download/v26.3.27/Xray-linux-64.zip" | |
| TMPDIR="$(mktemp -d)" | |
| curl -sL "$RELEASE" -o "$TMPDIR/xray.zip" | |
| unzip -q "$TMPDIR/xray.zip" -d "$TMPDIR" | |
| install -m 755 "$TMPDIR/xray" /usr/local/bin/xray | |
| rm -rf "$TMPDIR" | |