mirror of
https://github.com/phantomptr/ps5upload.git
synced 2026-10-22 03:42:55 -05:00
Upload, install, convert and manage PS5 game packages over the network. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
338 B
Bash
Executable File
14 lines
338 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
PS5_IP="${PS5_IP:-192.168.137.2}"
|
|
RUNTIME_PORT="${RUNTIME_PORT:-9114}"
|
|
|
|
if ! command -v python3 >/dev/null 2>&1; then
|
|
echo "python3 is required" >&2
|
|
exit 1
|
|
fi
|
|
|
|
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
|
|
python3 "$ROOT_DIR/lab/ftx2_control.py" shutdown "$PS5_IP" "$RUNTIME_PORT"
|