mirror of
https://github.com/Pixelplanet/Pixel-VR-Player.git
synced 2026-10-24 15:01:30 +02:00
49 lines
1.8 KiB
Batchfile
49 lines
1.8 KiB
Batchfile
@echo off
|
|
setlocal enabledelayedexpansion
|
|
|
|
echo ===============================================================
|
|
echo Pixel VR Player - Steam Frame Remote Installer
|
|
echo ===============================================================
|
|
echo This tool installs Pixel VR Player on your Valve Steam Frame
|
|
echo over your local Wi-Fi network directly from your PC.
|
|
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
|
|
)
|
|
|
|
ssh -o StrictHostKeyChecking=no steamos@!FRAME_IP! "curl -fsSL https://raw.githubusercontent.com/Pixelplanet/Pixel-VR-Player/main/tools/install.sh | sh"
|
|
|
|
if %ERRORLEVEL% equ 0 (
|
|
echo.
|
|
echo ===============================================================
|
|
echo [SUCCESS] Pixel VR Player installed on your Steam Frame!
|
|
echo It is now in your Steam Library under Non-Steam Games.
|
|
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
|