Merge pull request #241 from Hornwitser/port-1.2.1-fixes

Port version 1.2.1 fixes
This commit is contained in:
Arvids Godjuks authored and GitHub committed 2019-09-19 15:43:08 +02:00
commit b3eae22221
3 files changed
+15 -4

No files matched your search

+9
View File
@@ -31,6 +31,15 @@ Version 2.0.0
Version 1.2.1
-------------
- Updated node-factorio-api to v0.3.8 to fix mod downloads randomly breaking
([#229][#229].)
- Fixed SIGINT being sent twice to Factorio server when interrupted by CTRL+C
on Linux ([#217][#217].)
- Fixed package.json incorrectly reporting the license as ISC.
[#217]: https://github.com/clusterio/factorioClusterio/issues/217
[#229]: https://github.com/clusterio/factorioClusterio/issues/229
### Breaking Changes
- Added authentication to the socket.io server running on the master.
+4 -2
View File
@@ -395,7 +395,8 @@ write-data=${ instance.path() }\r\n
'--rcon-port', Number(process.env.RCONPORT) || instconf.clientPort,
'--rcon-password', instconf.clientPassword,
], {
'stdio': ['pipe', 'pipe', 'pipe']
'stdio': ['pipe', 'pipe', 'pipe'],
'detached': process.platform === "linux",
}
);
factorio.stdout.on("data", data => {
@@ -504,7 +505,8 @@ write-data=${ instance.path() }\r\n
'--server-settings', instance.path("server-settings.json"),
'--port', args.port || Number(process.env.FACTORIOPORT) || instanceconfig.factorioPort
], {
'stdio': ['pipe', 'pipe', 'pipe']
'stdio': ['pipe', 'pipe', 'pipe'],
'detached': process.platform === "linux",
}
);
+2 -2
View File
@@ -24,7 +24,7 @@
"factorio"
],
"author": "Danielv123",
"license": "ISC",
"license": "MIT",
"engines": {
"node": ">=10"
},
@@ -57,7 +57,7 @@
"moment": "^2.22.2",
"ncp": "^2.0.0",
"needle": "^2.4.0",
"node-factorio-api": "^0.3.5",
"node-factorio-api": "^0.3.8",
"node-forge": "^0.7.1",
"prom-client": "^10.2.3",
"rcon-client-fork": "^3.2.0",