From 7d7800ee77c6cd148b058ad2b5c7ff0e62f1dbc7 Mon Sep 17 00:00:00 2001 From: Ariel Juodziukynas Date: Thu, 30 Nov 2023 07:42:19 -0300 Subject: [PATCH] [Mac] Allow setting the prefixes folder on Mac too (#3275) Allow setting the prefixes folder on Mac too --- .../screens/Settings/components/WinePrefixesBasePath.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/screens/Settings/components/WinePrefixesBasePath.tsx b/src/frontend/screens/Settings/components/WinePrefixesBasePath.tsx index 6846ec02e4..79014fb4f9 100644 --- a/src/frontend/screens/Settings/components/WinePrefixesBasePath.tsx +++ b/src/frontend/screens/Settings/components/WinePrefixesBasePath.tsx @@ -9,9 +9,9 @@ const WinePrefixesBasePath = () => { const { t } = useTranslation() const { platform } = useContext(ContextProvider) const { isDefault } = useContext(SettingsContext) - const isLinux = platform === 'linux' + const isWindows = platform === 'win32' - if (!isDefault || !isLinux) { + if (!isDefault || isWindows) { return <> }