mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 14:13:34 +01:00
Windows build: Switch to 64-bit Node.js executable
This commit is contained in:
parent
2d56838792
commit
7e4931cf25
3 changed files with 11 additions and 2 deletions
|
@ -4,6 +4,8 @@
|
|||
|
||||
* Windows build:
|
||||
* The bundled `node.exe` was upgraded from v12 to v16.
|
||||
* The bundled `node.exe` is now a 64-bit executable. If you need the 32-bit
|
||||
version you must download and install Node.js yourself.
|
||||
* Improvements to login session management:
|
||||
* `express_sid` cookies and `sessionstorage:*` database records are no longer
|
||||
created unless `requireAuthentication` is `true` (or a plugin causes them to
|
||||
|
|
|
@ -49,7 +49,7 @@ try rm -rf node_modules
|
|||
try mv node_modules_resolved node_modules
|
||||
|
||||
log "download windows node..."
|
||||
try wget "https://nodejs.org/dist/latest-v16.x/win-x86/node.exe" -O node.exe
|
||||
try wget "https://nodejs.org/dist/latest-v16.x/win-x64/node.exe" -O node.exe
|
||||
|
||||
log "create the zip..."
|
||||
try zip -9 -r "${OUTPUT}" ./*
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
;Include Modern UI
|
||||
!include "MUI2.nsh"
|
||||
!include x64.nsh
|
||||
|
||||
;--------------------------------
|
||||
;Styling
|
||||
|
@ -15,11 +16,17 @@ Page directory
|
|||
Page instfiles
|
||||
|
||||
; The default installation directory
|
||||
InstallDir "$PROGRAMFILES\Etherpad Foundation\Etherpad Server"
|
||||
InstallDir "$PROGRAMFILES64\Etherpad Foundation\Etherpad Server"
|
||||
|
||||
Section
|
||||
SectionIn RO
|
||||
|
||||
${If} ${RunningX64}
|
||||
DetailPrint "Installer running on x64 host"
|
||||
${Else}
|
||||
Abort "Unsupported CPU architecture (only x64 is supported)"
|
||||
${Endif}
|
||||
|
||||
; Set output path to the installation directory.
|
||||
SetOutPath $INSTDIR
|
||||
|
||||
|
|
Loading…
Reference in a new issue