Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

override config on web #17

Merged
merged 1 commit into from
Dec 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ include(ECMUninstallTarget)
option(ENABLE_TEST "Build Test" On)
option(ENABLE_COVERAGE "Build the project with gcov support (Need ENABLE_TEST=On)" Off)

find_package(Fcitx5Core 5.1.2 REQUIRED)
find_package(Fcitx5Core 5.1.12 REQUIRED)
find_package(Fcitx5Module REQUIRED COMPONENTS Clipboard TestFrontend)
find_package(Gettext REQUIRED)
find_package(PkgConfig REQUIRED)
Expand Down
3 changes: 2 additions & 1 deletion src/engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,8 @@ AnthyEngine::AnthyEngine(fcitx::Instance *instance)
FCITX_ANTHY_INFO() << "Anthy: " << msg;
},
0);
if constexpr (fcitx::isAndroid() || fcitx::isApple()) {
if constexpr (fcitx::isAndroid() || fcitx::isApple() ||
fcitx::isEmscripten()) {
const auto &sp = fcitx::StandardPath::global();
std::string anthy_conf = sp.locate(fcitx::StandardPath::Type::Data,
"anthy/anthy-unicode.conf");
Expand Down
Loading