allow custom java set

This commit is contained in:
SpikeHD
2022-05-16 16:58:02 -07:00
parent bcffcb3fdc
commit f5147239ae
5 changed files with 32 additions and 4 deletions

View File

@@ -106,7 +106,8 @@ export default class ServerLaunchSection extends React.Component<IProps, IState>
// Launch the jar
await invoke('run_jar', {
path: config.grasscutter_path,
executeIn: jarFolder
executeIn: jarFolder,
javaPath: config.java_path || ''
})
}