mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-21 16:13:12 +09:00
Give processes a better name, clusterioMaster and clusterioClient
This commit is contained in:
1 parent
869b5f9ced
commit
a7474fdb86
2 files changed
+9
No files matched your search
@@ -33,6 +33,11 @@ if (!fs.existsSync("./sharedMods/")) {
|
|||||||
const instance = process.argv[3];
|
const instance = process.argv[3];
|
||||||
const instancedirectory = './instances/' + instance;
|
const instancedirectory = './instances/' + instance;
|
||||||
const command = process.argv[2];
|
const command = process.argv[2];
|
||||||
|
|
||||||
|
// Set the process title, shows up as the title of the CMD window on windows
|
||||||
|
// and as the process name in ps/top on linux.
|
||||||
|
process.title = "clusterioClient "+instance;
|
||||||
|
|
||||||
var instanceInfo = {};
|
var instanceInfo = {};
|
||||||
|
|
||||||
// function to handle sending commands into the game
|
// function to handle sending commands into the game
|
||||||
|
|||||||
Reference in new issue
Block a user