@echo off
REM Cogitator Planner. Opens the board in its own window.
REM Nothing is installed. This just starts the browser you already use.
setlocal
set "URL=https://cogidemo.mullinsit.tech/?view=plan"
set "EDGE=%ProgramFiles(x86)%\Microsoft\Edge\Application\msedge.exe"
if exist "%EDGE%" ( start "" "%EDGE%" --app=%URL% & goto :eof )
set "EDGE64=%ProgramFiles%\Microsoft\Edge\Application\msedge.exe"
if exist "%EDGE64%" ( start "" "%EDGE64%" --app=%URL% & goto :eof )
set "CHROME=%ProgramFiles%\Google\Chrome\Application\chrome.exe"
if exist "%CHROME%" ( start "" "%CHROME%" --app=%URL% & goto :eof )
start "" %URL%
