Add some various helper development scripts

This commit is contained in:
Kamil Trzciński 2022-11-27 15:32:33 +01:00
parent 738b9b72f6
commit c243d0dd69
5 changed files with 8 additions and 4 deletions

View file

@ -1,15 +1,15 @@
if not "%1"=="am_admin" (powershell start -verb runas '%0' 'am_admin,%1' & exit /b)
if "%2"=="" (echo missing name & timeout /t 3 & exit /b)
cd "%~dp0"
cd "%~dp0\.."
:retry
taskkill /F /IM "%1.exe"
del %1\bin\Debug\net6.0-windows\%1.exe
taskkill /F /IM "%2.exe"
del %2\bin\Debug\net6.0-windows\%2.exe
dotnet build
%1\bin\Debug\net6.0-windows\%1.exe
%2\bin\Debug\net6.0-windows\%2.exe
timeout /t 3
goto retry

View file

@ -0,0 +1 @@
run_loop.bat FanControl

View file

@ -0,0 +1 @@
run_loop.bat PerformanceOverlay

View file

@ -0,0 +1 @@
run_loop.bat PowerControl

View file

@ -0,0 +1 @@
run_loop.bat SteamController