2022-11-26 13:54:20 +01:00
|
|
|
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b)
|
|
|
|
|
|
|
|
|
|
:retry
|
|
|
|
|
cd "%~dp0"
|
|
|
|
|
|
2022-11-26 23:52:58 +01:00
|
|
|
set configuration=Release
|
2022-11-26 13:54:20 +01:00
|
|
|
|
|
|
|
|
taskkill /F /IM FanControl.exe
|
|
|
|
|
taskkill /F /IM PerformanceOverlay.exe
|
|
|
|
|
taskkill /F /IM PowerControl.exe
|
|
|
|
|
taskkill /F /IM SteamController.exe
|
|
|
|
|
|
|
|
|
|
powershell -ExecutionPolicy UnRestricted -File "%~dp0\build.ps1" "%configuration%"
|
|
|
|
|
|
|
|
|
|
start ..\build-%configuration%\FanControl.exe
|
|
|
|
|
start ..\build-%configuration%\PerformanceOverlay.exe
|
|
|
|
|
start ..\build-%configuration%\PowerControl.exe
|
|
|
|
|
start ..\build-%configuration%\SteamController.exe
|
|
|
|
|
|
|
|
|
|
timeout /t 5
|