mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-15 00:24:45 +01:00
fix default game file
This commit is contained in:
@@ -95,6 +95,7 @@ export default class DirInput extends React.Component<IProps, IState> {
|
|||||||
this.setState({ value: text })
|
this.setState({ value: text })
|
||||||
|
|
||||||
if (this.props.onChange) this.props.onChange(text)
|
if (this.props.onChange) this.props.onChange(text)
|
||||||
|
this.forceUpdate()
|
||||||
}}
|
}}
|
||||||
customClearBehaviour={this.props.customClearBehaviour}
|
customClearBehaviour={this.props.customClearBehaviour}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ let defaultConfig: Configuration
|
|||||||
(async() => {
|
(async() => {
|
||||||
defaultConfig = {
|
defaultConfig = {
|
||||||
toggle_grasscutter: false,
|
toggle_grasscutter: false,
|
||||||
game_install_path: 'C:\\Program Files\\Genshin Impact\\Genshin Impact game\\Genshin Impact.exe',
|
game_install_path: 'C:\\Program Files\\Genshin Impact\\Genshin Impact game\\GenshinImpact.exe',
|
||||||
grasscutter_with_game: false,
|
grasscutter_with_game: false,
|
||||||
grasscutter_path: '',
|
grasscutter_path: '',
|
||||||
java_path: '',
|
java_path: '',
|
||||||
|
|||||||
Reference in New Issue
Block a user