Move instance directory to Instance class

Replace the instancedirectory variable with an Instance class that holds
the directory and has a .path() to get paths relative to the instance
directory.
This commit is contained in:
Hornwitser committed 2019-09-15 13:43:14 +02:00
1 parent ec223e9d9e
commit 1ba9e68603
4 files changed
+148 -97

No files matched your search

-3
View File
@@ -3,9 +3,6 @@ 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) => {