From 85e857853e5022dc2a463f74bfae3a51dda5e3d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <1173718158@qq.com> Date: Sun, 29 Dec 2024 20:19:29 +0800 Subject: [PATCH] . --- cpp/winsharedutils/theme.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpp/winsharedutils/theme.cpp b/cpp/winsharedutils/theme.cpp index 4fbce1b5..3be9a678 100644 --- a/cpp/winsharedutils/theme.cpp +++ b/cpp/winsharedutils/theme.cpp @@ -209,5 +209,7 @@ DECLARE_API bool isDark() if (ERROR_SUCCESS != hKey.QueryDWORDValue(L"AppsUseLightTheme", value)) return false; return 1 - value; +#else + return false; #endif } \ No newline at end of file