Skip to content

Commit 177b0b9

Browse files
authored
[TECH]: disable umu by default (#3899)
tech: disable umu by default
1 parent 59a2127 commit 177b0b9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/backend/utils/compatibility_layers.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -542,7 +542,7 @@ export async function isUmuSupported(
542542
checkUmuInstalled = true
543543
): Promise<boolean> {
544544
const umuEnabled =
545-
GlobalConfig.get().getSettings().experimentalFeatures?.umuSupport !== false
545+
GlobalConfig.get().getSettings().experimentalFeatures?.umuSupport === true
546546
const wineVersionSupported = wineType === 'proton'
547547
const umuInstalled = checkUmuInstalled ? existsSync(await getUmuPath()) : true
548548

src/frontend/screens/Settings/components/ExperimentalFeatures.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const ExperimentalFeatures = () => {
2424
enableNewDesign: false,
2525
enableHelp: false,
2626
automaticWinetricksFixes: true,
27-
umuSupport: true
27+
umuSupport: false
2828
}
2929
)
3030
const { handleExperimentalFeatures } = useContext(ContextProvider)

src/frontend/state/ContextProvider.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const initialContext: ContextType = {
9898
enableNewDesign: false,
9999
enableHelp: false,
100100
automaticWinetricksFixes: true,
101-
umuSupport: true
101+
umuSupport: false
102102
},
103103
handleExperimentalFeatures: () => null,
104104
disableDialogBackdropClose: false,

src/frontend/state/GlobalState.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ class GlobalState extends PureComponent<Props> {
211211
enableNewDesign: false,
212212
enableHelp: false,
213213
automaticWinetricksFixes: true,
214-
umuSupport: true,
214+
umuSupport: false,
215215
...(globalSettings?.experimentalFeatures || {})
216216
},
217217
disableDialogBackdropClose: configStore.get(

0 commit comments

Comments
 (0)