mirror of
https://github.com/Toastconcern/FrameStudio.git
synced 2026-10-29 04:02:56 +01:00
fixes failing ci build Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
14 lines
768 B
Batchfile
Executable File
14 lines
768 B
Batchfile
Executable File
@echo off
|
|
rem Installs Frame Home on the Steam Frame (no Frame Studio needed). Double-click it, or drop .fenv environments or
|
|
rem .fbundle bundles on it to copy them to the headset too. Asks for the headset's address the first time (default: frame).
|
|
setlocal
|
|
set "HOSTFILE=%APPDATA%\FrameStudio\frame-host.txt"
|
|
set "FRAMEHOST="
|
|
if exist "%HOSTFILE%" set /p FRAMEHOST=<"%HOSTFILE%"
|
|
if "%FRAMEHOST%"=="" set "FRAMEHOST=frame"
|
|
set /p ENTERED=Steam Frame address [%FRAMEHOST%]:
|
|
if not "%ENTERED%"=="" set "FRAMEHOST=%ENTERED%"
|
|
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0install-frame-home.ps1" -HostName "%FRAMEHOST%" %*
|
|
if errorlevel 1 (echo. & echo Frame Home was NOT installed: see the messages above.) else (echo. & echo Frame Home is installed.)
|
|
pause
|