Update src/ui/Main.tsx

Co-authored-by: Thoronium <107363768+NotThorny@users.noreply.github.com>
This commit is contained in:
SpikeHD
2023-05-31 08:54:47 -07:00
committed by GitHub
parent 277f009883
commit 9d26f6f146

View File

@@ -199,7 +199,9 @@ export class Main extends React.Component<IProps, IState> {
const game_path = await getConfigOption('game_install_path')
// Check if game exists at set location
const game_exists: boolean = ((await invoke('dir_exists', {
const game_exists: boolean = (await invoke('dir_exists', {
path: game_path,
})) as boolean
path: game_path,
})) as boolean)