open with cwd, restore akebi option stuff

This commit is contained in:
SpikeHD
2022-07-21 19:49:51 -07:00
parent 818896c734
commit 1b076ccea9
4 changed files with 24 additions and 1 deletions

View File

@@ -157,7 +157,7 @@ export default class ServerLaunchSection extends React.Component<{}, IState> {
path: exe || config.game_install_path,
})
if (gameExists) await invoke('run_program', { path: exe || config.game_install_path })
if (gameExists) await invoke('run_program_relative', { path: exe || config.game_install_path })
else alert('Game not found! At: ' + (exe || config.game_install_path))
}