Open as admin

Set migoto exe when dl from menu
This commit is contained in:
Thoronium
2023-05-16 13:56:40 -06:00
parent d551344f39
commit 3205c96a62
3 changed files with 14 additions and 1 deletions

View File

@@ -69,6 +69,10 @@ export class Main extends React.Component<IProps, IState> {
setConfigOption('grasscutter_path', payload)
})
listen('migoto_extracted', ({ payload }: { payload: string }) => {
setConfigOption('migoto_path', payload)
})
// Emitted for rsa replacing-purposes
listen('game_closed', async () => {
const wasPatched = await getConfigOption('patch_rsa')