Building - cybermelons/gg-struggle GitHub Wiki
NodeJS
gg-struggle
is just a fancy node server. So you can just run it on any machine with nodejs installed.
cd gg-struggle/server
node .
Configuration options are specified in local.js
.
Windows
NodeJS isn't normally installed on windows, so we package it into a standalone exe file with the pkg
module.
Then build the installer with Inno Setup to package the scripts and server.
# build the .exe
cd gg-struggle/server
pkg --target node14-win .
# build installer, which runs the cert generation scripts
cd ../tools
iscc installer.iss