mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2026-02-04 09:25:16 +01:00
fix configuration
This commit is contained in:
@@ -15,6 +15,7 @@
|
|||||||
"fs": {
|
"fs": {
|
||||||
"scope": [
|
"scope": [
|
||||||
"$DATA",
|
"$DATA",
|
||||||
|
"$DATA/cultivation",
|
||||||
"$DATA/cultivation/*"
|
"$DATA/cultivation/*"
|
||||||
],
|
],
|
||||||
"readDir": true,
|
"readDir": true,
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user