Add start.bat script
This commit is contained in:
parent
2eedd0fb8f
commit
a961195757
|
@ -0,0 +1,26 @@
|
||||||
|
@echo off
|
||||||
|
|
||||||
|
echo Enabling mobile hotspot
|
||||||
|
powershell -NoProfile -ExecutionPolicy Bypass -File ".\mhotspot.ps1"
|
||||||
|
|
||||||
|
echo Starting docker desktop
|
||||||
|
start "" "C:\Program Files\Docker\Docker\Docker Desktop.exe"
|
||||||
|
@REM timeout /t 5 >nul
|
||||||
|
|
||||||
|
:waitForDocker
|
||||||
|
tasklist | find /i "Docker Desktop.exe" >nul
|
||||||
|
if errorlevel 1 (
|
||||||
|
timeout /t 1 >nul
|
||||||
|
goto waitForDocker
|
||||||
|
)
|
||||||
|
|
||||||
|
echo Starting docker compose
|
||||||
|
cd ".\mediamtx"
|
||||||
|
docker compose up -d
|
||||||
|
|
||||||
|
echo Launching OBS instances
|
||||||
|
start "OBS1" /D "C:\Program Files\obs-studio\bin\64bit" "obs64.exe" --profile "Profile1" --collection "Profile1" --multi --startstreaming
|
||||||
|
timeout /t 1 >nul
|
||||||
|
start "OBS2" /D "C:\Program Files\obs-studio\bin\64bit" "obs64.exe" --profile "Profile2" --collection "Profile2" --multi --startstreaming
|
||||||
|
|
||||||
|
@REM pause
|
Loading…
Reference in New Issue