mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-12 23:24:35 +01:00
fix configuration
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
"fs": {
|
||||
"scope": [
|
||||
"$DATA",
|
||||
"$DATA/cultivation",
|
||||
"$DATA/cultivation/*"
|
||||
],
|
||||
"readDir": true,
|
||||
|
||||
@@ -51,6 +51,8 @@ async function readConfigFile() {
|
||||
path: local + 'cultivation\\configuration.json',
|
||||
contents: '{}'
|
||||
}
|
||||
|
||||
await fs.writeFile(file)
|
||||
}
|
||||
|
||||
// Finally read the file
|
||||
|
||||
Reference in New Issue
Block a user