Skip to content

Commit

Permalink
[Fix] Prevent error if experimental features setting is undefined (#3400
Browse files Browse the repository at this point in the history
)

Prevent error if exp features setting is undefined
  • Loading branch information
arielj authored Jan 6, 2024
1 parent 6c811b9 commit 6a6af53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/backend/launcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ async function prepareWineLaunch(
}
if (
GlobalConfig.get().getSettings().experimentalFeatures
.automaticWinetricksFixes
?.automaticWinetricksFixes
) {
await installFixes(appName, runner)
}
Expand Down
2 changes: 1 addition & 1 deletion src/common/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export interface AppSettings extends GameSettings {
egsLinkedPath: string
enableUpdates: boolean
exitToTray: boolean
experimentalFeatures: ExperimentalFeatures
experimentalFeatures?: ExperimentalFeatures
framelessWindow: boolean
hideChangelogsOnStartup: boolean
libraryTopSection: LibraryTopSectionOptions
Expand Down

0 comments on commit 6a6af53

Please sign in to comment.