Fixed windows build.

This commit is contained in:
SamTV12345 2024-03-09 22:43:00 +01:00
parent fa5aed489f
commit eefbf4a82c
4 changed files with 12 additions and 8 deletions

View file

@ -9,11 +9,13 @@ cmd /C node -e "" || ( echo "Please install node.js ( https://nodejs.org )" && e
echo _
echo Ensure that all dependencies are up to date... If this is the first time you have run Etherpad please be patient.
mkdir node_modules
cd /D node_modules
mklink /D "ep_etherpad-lite" "..\src"
cd /D ..\src
:: Install admin ui
cd /D ..\admin
cmd /C pnpm i || exit /B 1
cmd /C pnpm run build || exit /B 1
cd /D ..
cmd /C pnpm i || exit /B 1
cd /D "%~dp0\.."