Add Games File

This commit is contained in:
Ivan Anikin
2026-05-19 13:42:41 +07:00
parent 7908479e0c
commit 12e7e22c1a
3672 changed files with 125922 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env bash
set -euo pipefail
ADB="${ADB:-/Users/ivananikin/Library/Android/sdk/platform-tools/adb}"
SERIAL="${ANDROID_SERIAL:-SOQWR4LFMZUS85ZD}"
if [[ $# -lt 1 ]]; then
echo "Usage: $0 '<ue console command>'" >&2
echo "Example: $0 'r.ScreenPercentage 80'" >&2
exit 2
fi
CMD="$*"
REMOTE_CMD=${CMD//\'/\'\\\'\'}
"$ADB" -s "$SERIAL" shell \
"am broadcast -a android.intent.action.RUN --es cmd '$REMOTE_CMD'" >/dev/null
echo "sent: $CMD"