Files
OpenVR-AdvancedSettings-frame/src/package_files/restartvrserver.bat
T
Vasily 644c887f71 Update version strings, update NSIS file, move around extra files
The additional files packaged with the installer have been moved to
their own dir to separate them from the C++ source.

All licenses are now also included in the installer, as per the terms.

The version string in overlaycontroller.h has been updated to 2.8.0.
2019-01-04 17:06:02 +01:00

25 lines
878 B
Batchfile

@echo off
REM First (optional) parameter is the vr runtime path
REM When no parameter given use default steam install location
IF [%1] == [] (
SET "steamVRPath=C:\Program Files (x86)\Steam\steamapps\common\SteamVR\"
) ELSE (
SET "steamVRPath=%~1"
)
echo VR Runtime Path: %steamVRPath%
echo.
REM Kill vrmonitor.exe and give SteamVR some time for a graceful shutdown
REM When no process was killed then exit (helps to prevent the taskkill clone bug)
(taskkill /im vrmonitor.exe /f >nul 2>nul && echo Give SteamVR some time for a graceful shutdown ... && timeout /t 20) || exit
REM Forcefully kill all remaining processes
taskkill /im vrcompositor.exe /f >nul 2>nul
taskkill /im vrdashboard.exe /f >nul 2>nul
taskkill /im vrserver.exe /f >nul 2>nul
REM Start vrmonitor.exe
REM start "" "%steamVRPath%\bin\win32\vrmonitor.exe"
start "" "%steamVRPath%\bin\win32\vrstartup.exe"