Start programs minimized

This commit is contained in:
Santiago Lo Coco 2024-10-19 09:31:44 +02:00
parent 588ce22acb
commit 242d8055d8
1 changed files with 3 additions and 4 deletions

View File

@ -4,8 +4,7 @@ echo Enabling mobile hotspot
powershell -NoProfile -ExecutionPolicy Bypass -File ".\mhotspot.ps1" powershell -NoProfile -ExecutionPolicy Bypass -File ".\mhotspot.ps1"
echo Starting docker desktop echo Starting docker desktop
start "" "C:\Program Files\Docker\Docker\Docker Desktop.exe" start /MIN "DockerDesktop" "C:\Program Files\Docker\Docker\Docker Desktop.exe"
@REM timeout /t 5 >nul
:waitForDocker :waitForDocker
tasklist | find /i "Docker Desktop.exe" >nul tasklist | find /i "Docker Desktop.exe" >nul
@ -26,8 +25,8 @@ cd ".\mediamtx"
docker compose up -d docker compose up -d
echo Launching OBS instances echo Launching OBS instances
start "OBS1" /D "C:\Program Files\obs-studio\bin\64bit" "obs64.exe" --profile "Profile1" --collection "Profile1" --multi --startstreaming start /MIN "OBS1" /D "C:\Program Files\obs-studio\bin\64bit" "obs64.exe" --profile "Profile1" --collection "Profile1" --multi --startstreaming
timeout /t 1 >nul timeout /t 1 >nul
start "OBS2" /D "C:\Program Files\obs-studio\bin\64bit" "obs64.exe" --profile "Profile2" --collection "Profile2" --multi --startstreaming start /MIN "OBS2" /D "C:\Program Files\obs-studio\bin\64bit" "obs64.exe" --profile "Profile2" --collection "Profile2" --multi --startstreaming
@REM pause @REM pause