@echo off echo "Downloading project in LumixEngine/" call git clone --depth=1 https://github.com/nem0/LumixEngine.git cd LumixEngine\projects genie.exe vs2022 set devenv_cmd=devenv.exe where /q devenv.exe if not %errorlevel%==0 set devenv_cmd="C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\devenv.exe" start "" %devenv_cmd% "tmp/vs2022/LumixEngine.sln" pause