From 9d26f6f1463ff70f559c1414803a33c43bef3997 Mon Sep 17 00:00:00 2001 From: SpikeHD Date: Wed, 31 May 2023 08:54:47 -0700 Subject: [PATCH] Update src/ui/Main.tsx Co-authored-by: Thoronium <107363768+NotThorny@users.noreply.github.com> --- src/ui/Main.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui/Main.tsx b/src/ui/Main.tsx index ed4cb75..f9d7ca9 100644 --- a/src/ui/Main.tsx +++ b/src/ui/Main.tsx @@ -199,7 +199,9 @@ export class Main extends React.Component { 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)