mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-14 15:24:52 +09:00
Move clusterioMod file creation
Move the creation of the output.txt, orders.txt and txbuffer.txt script output files out of the client.js code and into the clusterioMod.
This commit is contained in:
1 parent
3202e2d150
commit
2ff52a1cf2
3 files changed
+10
-6
No files matched your search
@@ -78,9 +78,6 @@ module.exports = class factorioServer {
|
||||
|
||||
// create files
|
||||
let files = [
|
||||
{name: "/script-output/output.txt", content: ""},
|
||||
{name: "/script-output/orders.txt", content: ""},
|
||||
{name: "/script-output/txbuffer.txt", content: ""},
|
||||
{name: "/config.ini", content: "[path]\r\n\ read-data=__PATH__executable__/../../data\r\n\ write-data=__PATH__executable__/../../../" + this.instanceDirectory + "\r\n\ "},
|
||||
{name: "/config.json", content: JSON.stringify({
|
||||
factorioPort: this.factorioPort,
|
||||
|
||||
Reference in new issue
Block a user