fix configuration

This commit is contained in:
SpikeHD
2022-05-08 19:34:55 -07:00
parent a304e6964f
commit 1a894bd6d4
2 changed files with 3 additions and 0 deletions

View File

@@ -15,6 +15,7 @@
"fs": { "fs": {
"scope": [ "scope": [
"$DATA", "$DATA",
"$DATA/cultivation",
"$DATA/cultivation/*" "$DATA/cultivation/*"
], ],
"readDir": true, "readDir": true,

View File

@@ -51,6 +51,8 @@ async function readConfigFile() {
path: local + 'cultivation\\configuration.json', path: local + 'cultivation\\configuration.json',
contents: '{}' contents: '{}'
} }
await fs.writeFile(file)
} }
// Finally read the file // Finally read the file