mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-11 23:04:52 +09:00
The usage of shell: true means that no escaping is done on the arguments
passed to the commands invoked by the installer. This leads to the
installation failing if the user for example puts a space in the
username for the admin account.
Fix by escaping the arguments passed on command lines. This is
unreasonably complicated on Windows 😡.
4 lines
104 B
Batchfile
4 lines
104 B
Batchfile
@ECHO off
|
|
REM this is how npm and package.json bin entries forwards arguments on Windows
|
|
node.exe %*
|