mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 23:04:52 +09:00
Gitignore and require moved to top
This commit is contained in:
1 parent
12d1631922
commit
e16d7b43ed
2 files changed
+2
-1
No files matched your search
@@ -29,3 +29,4 @@ node_modules
|
||||
Factorio*
|
||||
/factorio
|
||||
/instances
|
||||
/sharedMods
|
||||
@@ -5,6 +5,7 @@ var child_process = require('child_process');
|
||||
var path = require('path');
|
||||
var syncRequest = require('sync-request');
|
||||
var ncp = require('ncp').ncp;
|
||||
var Rcon = require('simple-rcon');
|
||||
|
||||
// require config.json
|
||||
var config = require('./config');
|
||||
@@ -176,7 +177,6 @@ write-data=__PATH__executable__/../../../instances/" + instance + "\r\n\
|
||||
|
||||
// connect to the server with rcon
|
||||
// IP, port, password
|
||||
var Rcon = require('simple-rcon');
|
||||
var client = new Rcon({
|
||||
host: 'localhost',
|
||||
port: instanceconfig.clientPort,
|
||||
|
||||
Reference in new issue
Block a user