mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-01-07 09:53:50 +08:00
16 lines
462 B
Batchfile
16 lines
462 B
Batchfile
@echo off
|
|
git submodule update --init
|
|
|
|
echo Updating current branch and submodules
|
|
git pull && git submodule update
|
|
|
|
echo Generating project files
|
|
premake5 vs2022
|
|
IF %ERRORLEVEL% NEQ 0 (
|
|
PAUSE
|
|
)
|
|
|
|
echo "Opening project..."
|
|
tasklist /FI "WINDOWTITLE eq BigBaseV2 - Microsoft Visual Studio" /FI "STATUS eq running" 2>NUL | find /I /N "devenv.exe" >NUL
|
|
IF %ERRORLEVEL% NEQ 0 (start BigBaseV2.sln) ELSE (echo Visual Studio is already open, doing nothing. && PAUSE)
|