Autodownload latest clusterio on npm install

This commit is contained in:
Danielv123 committed 2018-04-09 09:13:17 +02:00
1 parent fe2bf75b89
commit 6b29b2a430
1 file changed
+4
+4
View File
@@ -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){