Compare commits
6
Commits
a7975715a9
...
df24c3876e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
df24c3876e | ||
|
|
b29836ee79 | ||
|
|
f526a21c66 | ||
|
|
9c05de766b | ||
|
|
0a22fe6b0b | ||
|
|
5ed53d33b9 |
@@ -3,6 +3,12 @@
|
|||||||
|
|
||||||
### 📦 How to Install
|
### 📦 How to Install
|
||||||
|
|
||||||
|
** NEW PARAMETER FOR PAYLOAD: **
|
||||||
|
|
||||||
|
```bash
|
||||||
|
[split]x-skip: 200[crlf][crlf]
|
||||||
|
```
|
||||||
|
|
||||||
**Step-by-step:**
|
**Step-by-step:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
+5
-3
@@ -4,7 +4,7 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
INSTALL_DIR="$HOME/DragonX"
|
INSTALL_DIR="$HOME/DragonX"
|
||||||
REPO_URL="https://git.dr2.site/penguinehis/DragonX-SSH-Proxy"
|
REPO_URL="https://git.dr2.site/penguinehis/DragonX-SSH-Proxy.git"
|
||||||
|
|
||||||
echo "Installing DragonX into $INSTALL_DIR..."
|
echo "Installing DragonX into $INSTALL_DIR..."
|
||||||
|
|
||||||
@@ -17,10 +17,12 @@ fi
|
|||||||
# Fetch code
|
# Fetch code
|
||||||
if [ -d "$INSTALL_DIR/.git" ]; then
|
if [ -d "$INSTALL_DIR/.git" ]; then
|
||||||
echo "Existing repo detected. Pulling latest..."
|
echo "Existing repo detected. Pulling latest..."
|
||||||
git -C "$INSTALL_DIR" pull --rebase --autostash || true
|
git -C "$INSTALL_DIR" fetch origin
|
||||||
|
git -C "$INSTALL_DIR" checkout main
|
||||||
|
git -C "$INSTALL_DIR" pull --rebase --autostash origin main || true
|
||||||
else
|
else
|
||||||
rm -rf "$INSTALL_DIR"
|
rm -rf "$INSTALL_DIR"
|
||||||
git clone --depth 1 "$REPO_URL" "$INSTALL_DIR"
|
git clone --depth 1 --branch main "$REPO_URL" "$INSTALL_DIR"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Ensure executables are present & executable
|
# Ensure executables are present & executable
|
||||||
|
|||||||
Reference in New Issue
Block a user