Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
fxliang committed Feb 18, 2024
1 parent a8d9976 commit 853914c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WeaselDeployer/Configurator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ Configurator::Configurator()
void Configurator::Initialize()
{
RIME_STRUCT(RimeTraits, weasel_traits);
#ifdef _WIN64
#ifndef _WIN64
std::string shared_dir = wstring_to_string(WeaselSharedDataPath().wstring(), CP_UTF8);
#else
std::string shared_dir = wstring_to_string((WeaselSharedDataPath().parent_path().append("data")).wstring(), CP_UTF8);
std::string shared_dir = wstring_to_string((WeaselSharedDataPath().parent_path().parent_path().append("data")).wstring(), CP_UTF8);
#endif
std::string user_dir = wstring_to_string(WeaselUserDataPath().wstring(), CP_UTF8);
weasel_traits.shared_data_dir = shared_dir.c_str();
Expand Down

0 comments on commit 853914c

Please sign in to comment.