mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-12 23:04:52 +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 instancedirectory = './instances/' + instance;
|
||||
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 = {};
|
||||
|
||||
// function to handle sending commands into the game
|
||||
|
||||
Reference in new issue
Block a user