write game path to migoto config autmatically

This commit is contained in:
SpikeHD
2022-08-25 20:08:44 -07:00
parent 9426937a62
commit 57c1a7800c
5 changed files with 88 additions and 0 deletions

View File

@@ -151,6 +151,12 @@ export default class Options extends React.Component<IProps, IState> {
this.setState({
migoto_path: value,
})
// Set game exe in Migoto ini
invoke('set_migoto_target', {
path: this.state.game_install_path,
migotoPath: value,
})
}
setReshade(value: string) {