diff --git a/CHANGELOG.md b/CHANGELOG.md index c366087c..824e2746 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/client.js b/client.js index 4de02024..f4318ae4 100644 --- a/client.js +++ b/client.js @@ -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", } ); diff --git a/package.json b/package.json index 58815988..8570fbce 100644 --- a/package.json +++ b/package.json @@ -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",