Add Games File
This commit is contained in:
Executable
+23
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
PROJECT_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
||||
|
||||
if ! command -v python3 >/dev/null 2>&1; then
|
||||
echo "python3 is required but was not found." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "${GITHUB_TOKEN:-}" ]; then
|
||||
cat >&2 <<'EOF'
|
||||
GITHUB_TOKEN is required for private EpicGames/UnrealEngine access.
|
||||
|
||||
Create a GitHub token that can read EpicGames/UnrealEngine, then run:
|
||||
|
||||
GITHUB_TOKEN=ghp_xxx Scripts/install_mobile_fsr.sh
|
||||
|
||||
EOF
|
||||
exit 1
|
||||
fi
|
||||
|
||||
python3 "$PROJECT_ROOT/Scripts/download_mobile_fsr_api.py"
|
||||
Reference in New Issue
Block a user