fix default game file

This commit is contained in:
SpikeHD
2022-06-03 22:57:57 -07:00
parent acba392533
commit ae37feebea
2 changed files with 2 additions and 1 deletions

View File

@@ -95,6 +95,7 @@ export default class DirInput extends React.Component<IProps, IState> {
this.setState({ value: text })
if (this.props.onChange) this.props.onChange(text)
this.forceUpdate()
}}
customClearBehaviour={this.props.customClearBehaviour}
/>

View File

@@ -7,7 +7,7 @@ let defaultConfig: Configuration
(async() => {
defaultConfig = {
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_path: '',
java_path: '',