mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-12 23:24:35 +01:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
"fs": {
|
||||
"scope": [
|
||||
"$DATA",
|
||||
"$DATA/cultivation",
|
||||
"$DATA/cultivation/*"
|
||||
],
|
||||
"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',
|
||||
contents: '{}'
|
||||
}
|
||||
|
||||
await fs.writeFile(file)
|
||||
}
|
||||
|
||||
// Finally read the file
|
||||
|
||||
Reference in New Issue
Block a user