Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TECH]: disable umu by default #3899

Merged
merged 1 commit into from
Aug 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
tech: disable umu by default
  • Loading branch information
imLinguin committed Aug 4, 2024
commit 28fa90c749758957f5f50a82d41304970db7c610
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
Loading