Qt: Fix devbuild check

This commit is contained in:
Stenzek
2025-11-29 18:27:19 +10:00
parent db9a9e7624
commit e0a0745839

View File

@@ -164,7 +164,7 @@ void AutoUpdaterDialog::warnAboutUnofficialBuild()
constexpr const char* CONFIG_SECTION = "UI";
constexpr const char* CONFIG_KEY = "UnofficialBuildWarningConfirmed";
if (
#if defined(_WIN32) && !defined(__APPLE__)
#if !defined(_WIN32) && !defined(__APPLE__)
EmuFolders::AppRoot.starts_with("/home") && // Devbuilds should be in home directory.
#endif
Host::GetBaseBoolSettingValue(CONFIG_SECTION, CONFIG_KEY, false))