mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-11 23:04:52 +09:00
Fixed some folders not getting created on fresh installs, throwing a few errors
This commit is contained in:
1 parent
618abb0ab9
commit
2efe339fef
2 files changed
+21
-2
No files matched your search
@@ -0,0 +1,18 @@
|
||||
var mkdirp = require("mkdirp");
|
||||
|
||||
var directories = [
|
||||
"database/linvodb",
|
||||
"sharedMods",
|
||||
"instances",
|
||||
];
|
||||
|
||||
directories.forEach(path => {
|
||||
mkdirp("database/linvodb", function(err){
|
||||
if(err){
|
||||
console.error("Unable to mkdirp "+path);
|
||||
console.error(err);
|
||||
} else {
|
||||
console.log("mkdirp "+path);
|
||||
}
|
||||
});
|
||||
})
|
||||
+3
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "clusterio",
|
||||
"version": "1.7.1",
|
||||
"version": "1.7.0",
|
||||
"description": "Interserver communication for factorio",
|
||||
"repository": "https://github.com/Danielv123/factorioClusterio",
|
||||
"main": "master.js",
|
||||
@@ -9,7 +9,8 @@
|
||||
"start": "echo Run node client.js start [instance] to start slaves && node master.js",
|
||||
"cover": "./node_modules/.bin/istanbul cover ./node_modules/mocha/bin/_mocha -- \"./{,!(node_modules)/**/}*.spec.js\" -R spec || echo . && codecov -t f7b38085-36eb-4d72-84e6-64721910171e",
|
||||
"docs": "documentation build index.js --config documentation.yml -f html -o docs",
|
||||
"livedocs": "documentation serve --watch *.js lib/** --config documentation.yml"
|
||||
"livedocs": "documentation serve --watch *.js lib/** --config documentation.yml",
|
||||
"install": "node lib/npmPostinstall.js"
|
||||
},
|
||||
"keywords": [
|
||||
"factorio"
|
||||
|
||||
Reference in new issue
Block a user