mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
22 lines
438 B
Batchfile
22 lines
438 B
Batchfile
setlocal
|
|
|
|
echo.
|
|
echo === webui
|
|
echo.
|
|
title Build webui
|
|
|
|
if not exist "%RsWebuiPath%" (
|
|
echo Checking out webui source into %RsWebuiPath%
|
|
if not "%ParamNoupdate%"=="1" (
|
|
%EnvMSYS2Cmd% "pacman --noconfirm --needed -S git"
|
|
)
|
|
git clone https://github.com/RetroShare/RSNewWebUI.git "%RsWebuiPath%"
|
|
) else (
|
|
echo Webui source found at %RsWebuiPath%
|
|
)
|
|
|
|
pushd "%RsWebuiPath%\webui-src\make-src"
|
|
%EnvMSYS2Cmd% "sh build.sh"
|
|
popd
|
|
|
|
endlocal |