@echo off setlocal enabledelayedexpansion echo =============================================================== echo Pixel VR Player - Steam Frame Remote Updater echo =============================================================== echo This tool updates Pixel VR Player on your Valve Steam Frame echo to the latest release over Wi-Fi directly from your PC. echo (All your settings, bookmarks, and shares are kept safe). echo =============================================================== echo. set "FRAME_IP=steamframe.local" set /p "INPUT_IP=Enter Steam Frame IP address [press Enter for steamframe.local]: " if not "!INPUT_IP!"=="" set "FRAME_IP=!INPUT_IP!" echo. echo Connecting to steamos@!FRAME_IP!... echo (If prompted for a password, enter your SteamOS desktop password) echo. where ssh >nul 2>&1 if %ERRORLEVEL% neq 0 ( echo [ERROR] SSH is not installed or not in PATH on this PC. pause exit /b 1 ) set "REMOTE_CMD=curl -fsSL https://raw.githubusercontent.com/Pixelplanet/Pixel-VR-Player/main/tools/install.sh | sh -s -- --update" ssh -o StrictHostKeyChecking=no steamos@!FRAME_IP! "!REMOTE_CMD!" if %ERRORLEVEL% equ 0 ( echo. echo =============================================================== echo [SUCCESS] Pixel VR Player has been updated on your Steam Frame! echo =============================================================== ) else ( echo. echo =============================================================== echo [NOTE] If connection failed, please ensure: echo 1. Both your PC and Steam Frame are on the same Wi-Fi. echo 2. SSH is enabled on the headset. echo (In Desktop Mode, open Konsole and run 'passwd', echo then 'sudo systemctl start sshd', or enable Dev Mode). echo =============================================================== ) echo. pause