mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-19 15:33:12 +09:00
Autodownload latest clusterio on npm install
This commit is contained in:
1 parent
fe2bf75b89
commit
6b29b2a430
1 file changed
+4
@@ -3,6 +3,10 @@ var http = require('http');
|
||||
var https = require('https');
|
||||
var fs = require('fs');
|
||||
|
||||
var modManager = require("./manager/modManager.js");
|
||||
|
||||
modManager.addMod("clusterio", "shared");
|
||||
|
||||
function makeDirectory(path){
|
||||
return new Promise((resolve, reject) => {
|
||||
mkdirp(path, function(err){
|
||||
|
||||
Reference in new issue
Block a user