Fixed windows install.

This commit is contained in:
SamTV12345 2024-02-11 09:05:52 +01:00
parent f4ef5b4f33
commit 3175b8b03a
3 changed files with 5 additions and 2 deletions

View file

@ -143,9 +143,11 @@ jobs:
run: pnpm config set auto-install-peers false
- name: Install all dependencies and symlink for ep_etherpad-lite
run: ./bin/installDeps.sh
shell: msys2 {0}
working-directory: etherpad/src
-
name: Run Etherpad
shell: msys2 {0}
working-directory: etherpad/src
run: |
pnpm run prod

View file

@ -13,7 +13,7 @@ mkdir node_modules
cd /D node_modules
mklink /D "ep_etherpad-lite" "..\src"
cd /D "ep_etherpad-lite"
cd /D ..\src
cmd /C pnpm i || exit /B 1
cd /D "%~dp0\..\.."

View file

@ -8,4 +8,5 @@ REM around this, everything must consistently use either `src` or
REM `node_modules\ep_etherpad-lite` on Windows. Because some plugins access
REM Etherpad internals via `require('ep_etherpad-lite/foo')`,
REM `node_modules\ep_etherpad-lite` is used here.
node run dev
cd src
pnpm run prod