Fixed Windows bundle build script and updated newest Windows WeKan release.

Thanks to xet7 !

Fixes #4707
This commit is contained in:
Lauri Ojansivu 2022-12-26 20:14:49 +02:00
parent 8aaabb5a3a
commit f1ff6d1e1f

View file

@ -13,13 +13,10 @@ ECHO 3) Unarchiving new WeKan
CALL 7z x wekan-%1.zip
ECHO 4) Reinstalling bcrypt
CD bundle\programs\server\npm\node_modules\meteor\accounts-password
CALL npm remove bcrypt
CALL npm install bcrypt
REM # Requires building from source https://github.com/meteor/meteor/issues/11682
REM CALL npm rebuild --build-from-source
REM CALL npm --build-from-source install bcrypt
CD ..\..\..\..\..\..\..
cmd /c "CD bundle\programs\server\npm\node_modules\meteor\accounts-password && npm remove bcrypt && npm install bcrypt"
REM # Sometimes may require building from source https://github.com/meteor/meteor/issues/11682
REM # cmd /c "bundle\programs\server\npm\node_modules\meteor\accounts-password && npm rebuild --build-from-source && npm --build-from-source install bcrypt"
REM # CD ..\..\..\..\..\..\..
ECHO 5) Packing new WeKan.zip
CALL DEL wekan-%1-amd64-windows.zip