change to actually working instruction

This commit is contained in:
Vitaly Turovsky 2025-06-30 23:33:54 +03:00
commit 5d05ffe2dd
2 changed files with 22 additions and 2 deletions

View file

@ -7,10 +7,17 @@
## 🚀 Quick Start
Deploy your own Minecraft Web Client in seconds with our one-liner script:
Deploy your own Minecraft Web Client in seconds with our interactive script:
```bash
curl -fsSL https://raw.githubusercontent.com/zardoy/minecraft-everywhere/main/deploy.sh | bash
curl -O https://raw.githubusercontent.com/zardoy/minecraft-everywhere/main/deploy.sh
chmod +x deploy.sh
```
Then run it:
```bash
./deploy.sh
```
## ✨ Features

View file

@ -72,6 +72,18 @@ check_root() {
fi
}
# Check if running interactively
check_interactive() {
if [[ ! -t 0 ]]; then
print_error "This script must be run interactively."
print_info "Please download and run the script directly:"
print_info " curl -O https://raw.githubusercontent.com/zardoy/minecraft-everywhere/main/deploy.sh"
print_info " chmod +x deploy.sh"
print_info " ./deploy.sh"
exit 1
fi
}
# Check system requirements
check_system() {
print_step "Checking system requirements..."
@ -435,6 +447,7 @@ main() {
trap cleanup EXIT
print_header
check_interactive
check_root
check_system