Skip to content

Commit

Permalink
Override anthy config path on macOS, too
Browse files Browse the repository at this point in the history
  • Loading branch information
Eventide committed Apr 20, 2024
1 parent 059f6ed commit 9079ccb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 9079ccb

Please sign in to comment.