Skip to content

Commit

Permalink
main.bat - livecode plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
nem0 committed Jun 28, 2024
1 parent 9ea0a0c commit f8193a5
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion projects/main.bat
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,9 @@ goto :begin
echo B. Visual script
echo C. Procedural geometry
echo D. Marketplace
echo E. LiveCode
echo ===============================
choice /C 123456789ABCD /N /M "Your choice:"
choice /C 123456789ABCDE /N /M "Your choice:"
echo.
if %errorlevel%==1 exit /B 0
if %errorlevel%==2 call :empty_plugin
Expand All @@ -68,6 +69,7 @@ goto :begin
if %errorlevel%==11 call :visual_script_plugin
if %errorlevel%==12 call :procedural_geom_plugin
if %errorlevel%==13 call :marketplace_plugin
if %errorlevel%==14 call :livecode_plugin
call :create_project
goto :plugins

Expand Down Expand Up @@ -236,6 +238,21 @@ exit /B 0
popd
exit /B 0

:livecode_plugin
if not exist ..\plugins mkdir ..\plugins
pushd ..\plugins
if not exist livecode (
git.exe clone https://github.com/nem0/lumixengine_livecode.git livecode
pushd livecode
git remote add origin2 git@github.com:nem0/lumixengine_livecode.git
popd
) else (
cd livecode
git pull
)
popd
exit /B 0

:empty_plugin
if not exist ..\plugins mkdir ..\plugins
pushd ..\plugins
Expand Down

0 comments on commit f8193a5

Please sign in to comment.