diff --git a/src/ui/components/common/DirInput.tsx b/src/ui/components/common/DirInput.tsx index 83b54ad..ece7bd3 100644 --- a/src/ui/components/common/DirInput.tsx +++ b/src/ui/components/common/DirInput.tsx @@ -95,6 +95,7 @@ export default class DirInput extends React.Component { this.setState({ value: text }) if (this.props.onChange) this.props.onChange(text) + this.forceUpdate() }} customClearBehaviour={this.props.customClearBehaviour} /> diff --git a/src/utils/configuration.ts b/src/utils/configuration.ts index 2893655..3b984d2 100644 --- a/src/utils/configuration.ts +++ b/src/utils/configuration.ts @@ -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: '',