mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2025-12-06 07:12:01 +01:00
21 lines
563 B
Batchfile
21 lines
563 B
Batchfile
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b)
|
|
|
|
:retry
|
|
cd "%~dp0"
|
|
|
|
set configuration=Release
|
|
|
|
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
|