#!/bin/sh # Raids Timer Linux Auto Farm helper. Same Chat unlock as the Windows helper. # Send order + GET READY / SEND countdown use the same alliance board as the website. # BlueStacks has no Linux build. Use Waydroid: https://docs.waydro.id/usage/install-on-desktops # chmod +x linux-farm.sh linux-farm.py # Keep this file next to linux-farm.py, then: ./linux-farm.sh set -eu DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd) cd "$DIR" if ! command -v python3 >/dev/null 2>&1; then echo "Install python3 first (sudo apt install python3 python3-tk xdotool)." exit 1 fi if ! command -v xdotool >/dev/null 2>&1; then echo "Install xdotool first (sudo apt install xdotool). Clicks need X11 or XWayland." fi if ! command -v waydroid >/dev/null 2>&1; then echo "Waydroid is the Android runtime on Linux (BlueStacks is Windows/Mac only)." echo "Install: https://docs.waydro.id/usage/install-on-desktops" echo "Then: sudo waydroid init" echo "This helper still starts; click Launch Waydroid after Waydroid is installed." fi exec python3 "$DIR/linux-farm.py"