From 9079ccb3957bd793e4000bf315b86dbf1029d4e0 Mon Sep 17 00:00:00 2001 From: Eventide Date: Sun, 14 Apr 2024 00:21:35 +0800 Subject: [PATCH] Override anthy config path on macOS, too --- src/engine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine.cpp b/src/engine.cpp index 62764f2..2ad4da5 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -276,7 +276,7 @@ AnthyEngine::AnthyEngine(fcitx::Instance *instance) FCITX_ANTHY_INFO() << "Anthy: " << msg; }, 0); - if constexpr (fcitx::isAndroid()) { + if constexpr (fcitx::isAndroid() || fcitx::isApple()) { const auto &sp = fcitx::StandardPath::global(); std::string anthy_conf = sp.locate(fcitx::StandardPath::Type::Data, "anthy/anthy-unicode.conf");