mirror of
https://github.com/Grasscutters/Cultivation.git
synced 2025-12-13 07:34:36 +01:00
Update src/ui/Main.tsx
Co-authored-by: Thoronium <107363768+NotThorny@users.noreply.github.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user