lgbot: interactive setup script
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
062ea6468a
commit
fda3a795bb
3 files changed
+282
No files matched your search
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
# LG training bot setup: ./lgbot asks for aim/movement and sets the bot up; ./lgbot --last, show, off.
|
||||
# Runs inside the container like ./rcon, so the RCON password never leaves this machine.
|
||||
D=$(cd "$(dirname "$0")" && pwd)
|
||||
NAME=$(sed -n 's/^QL_NAME=//p' "$D/.env" 2>/dev/null | tr -d '\r')
|
||||
if [ -t 0 ]; then T=-it; else T=-i; fi
|
||||
exec docker exec $T "${NAME:-ql-lg}" python3 /ql/tools/lgbot_setup.py "$@"
|
||||
Reference in new issue
Block a user