Skip to content

Commit

Permalink
[TECH]: disable umu by default (#3899)
Browse files Browse the repository at this point in the history
tech: disable umu by default
  • Loading branch information
imLinguin authored Aug 4, 2024
1 parent 59a2127 commit 177b0b9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/backend/utils/compatibility_layers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ export async function isUmuSupported(
checkUmuInstalled = true
): Promise<boolean> {
const umuEnabled =
GlobalConfig.get().getSettings().experimentalFeatures?.umuSupport !== false
GlobalConfig.get().getSettings().experimentalFeatures?.umuSupport === true
const wineVersionSupported = wineType === 'proton'
const umuInstalled = checkUmuInstalled ? existsSync(await getUmuPath()) : true

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const ExperimentalFeatures = () => {
enableNewDesign: false,
enableHelp: false,
automaticWinetricksFixes: true,
umuSupport: true
umuSupport: false
}
)
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 @@ -98,7 +98,7 @@ const initialContext: ContextType = {
enableNewDesign: false,
enableHelp: false,
automaticWinetricksFixes: true,
umuSupport: true
umuSupport: false
},
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 @@ -211,7 +211,7 @@ class GlobalState extends PureComponent<Props> {
enableNewDesign: false,
enableHelp: false,
automaticWinetricksFixes: true,
umuSupport: true,
umuSupport: false,
...(globalSettings?.experimentalFeatures || {})
},
disableDialogBackdropClose: configStore.get(
Expand Down

0 comments on commit 177b0b9

Please sign in to comment.