mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-05 22:35:38 +00:00
Improve build scripts and move them to scripts/
This commit is contained in:
parent
5d653a3342
commit
43abc56a41
9 changed files with 100 additions and 28 deletions
15
scripts/run_loop.bat
Normal file
15
scripts/run_loop.bat
Normal file
|
|
@ -0,0 +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"
|
||||
|
||||
:retry
|
||||
|
||||
taskkill /F /IM "%1.exe"
|
||||
del %1\bin\Debug\net6.0-windows\%1.exe
|
||||
|
||||
dotnet build
|
||||
%1\bin\Debug\net6.0-windows\%1.exe
|
||||
|
||||
timeout /t 3
|
||||
goto retry
|
||||
Loading…
Add table
Add a link
Reference in a new issue