mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 10:54:22 -05:00
03b4c69ae9
- Documenting CONFIG+= - Changed back msys2 download to an older version, the current one had bugs
36 lines
651 B
Batchfile
36 lines
651 B
Batchfile
@echo off
|
|
|
|
setlocal
|
|
|
|
:: Initialize environment
|
|
call "%~dp0..\env.bat"
|
|
if errorlevel 1 goto error_env
|
|
call "%EnvPath%\env.bat"
|
|
if errorlevel 1 goto error_env
|
|
call "%EnvPath%\env-msys2.bat"
|
|
if errorlevel 1 goto error_env
|
|
|
|
:: Initialize base environment
|
|
call "%~dp0env-base.bat" %*
|
|
if errorlevel 2 exit /B 2
|
|
if errorlevel 1 goto error_env
|
|
|
|
:: Initialize environment
|
|
call "%~dp0env.bat" %*
|
|
if errorlevel 2 exit /B 2
|
|
if errorlevel 1 goto error_env
|
|
|
|
call "%~dp0..\tools\webui.bat"
|
|
|
|
:error
|
|
|
|
title %COMSPEC%
|
|
|
|
if errorlevel 1 echo.& echo Webui generation failed& echo.
|
|
exit /B %ERRORLEVEL%
|
|
|
|
:error_env
|
|
echo Failed to initialize environment.
|
|
endlocal
|
|
exit /B 1
|