mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2026-02-04 09:25:16 +01:00
Merge remote-tracking branch 'origin/main'
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,
|
||||||
|
|||||||
0
src/ui/components/common/Checkbox.css
Normal file
0
src/ui/components/common/Checkbox.css
Normal file
15
src/ui/components/common/Checkbox.tsx
Normal file
15
src/ui/components/common/Checkbox.tsx
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
import React from 'react'
|
||||||
|
|
||||||
|
interface IProps {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
interface IState {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
export default class Checkbox extends React.Component<IProps, IState> {
|
||||||
|
constructor(props: IProps) {
|
||||||
|
super(props)
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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