Skip to content

Commit

Permalink
[UX] Set the auto fixes feature ON by default (#3449)
Browse files Browse the repository at this point in the history
* Set the auto fixes feature on by default

* I forgot one file
  • Loading branch information
arielj authored Jan 21, 2024
1 parent 2665aed commit f5159d7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/backend/launcher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ async function prepareWineLaunch(
}
if (
GlobalConfig.get().getSettings().experimentalFeatures
?.automaticWinetricksFixes
?.automaticWinetricksFixes !== false
) {
await installFixes(appName, runner)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const ExperimentalFeatures = () => {
{
enableNewDesign: false,
enableHelp: false,
automaticWinetricksFixes: false
automaticWinetricksFixes: true
}
)
const { handleExperimentalFeatures } = useContext(ContextProvider)
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/state/ContextProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const initialContext: ContextType = {
experimentalFeatures: {
enableNewDesign: false,
enableHelp: false,
automaticWinetricksFixes: false
automaticWinetricksFixes: true
},
handleExperimentalFeatures: () => null,
disableDialogBackdropClose: false,
Expand Down
2 changes: 1 addition & 1 deletion src/frontend/state/GlobalState.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ class GlobalState extends PureComponent<Props> {
experimentalFeatures: globalSettings?.experimentalFeatures || {
enableNewDesign: false,
enableHelp: false,
automaticWinetricksFixes: false
automaticWinetricksFixes: true
},
disableDialogBackdropClose: configStore.get(
'disableDialogBackdropClose',
Expand Down

0 comments on commit f5159d7

Please sign in to comment.