mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-20 07:43:12 +09:00
Allow instance names to be any string
Replace bad characters with underscore instead of rejecting bad instance names.
This commit is contained in:
1 parent
246ce73d94
commit
393652c1d9
4 files changed
+91
-5
No files matched your search
@@ -450,7 +450,6 @@ class Instance extends libLink.Link {
|
||||
*/
|
||||
static async create(instanceDir, factorioDir) {
|
||||
logger.info(`Creating ${instanceDir}`);
|
||||
await fs.ensureDir(instanceDir);
|
||||
await fs.ensureDir(path.join(instanceDir, "script-output"));
|
||||
await fs.ensureDir(path.join(instanceDir, "saves"));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user