Skip to content

Commit 463dc09

Browse files
committed
fix(custom_settings): load built settings from $user_data_dir/build directory
1 parent 88f1dc2 commit 463dc09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rime/lever/custom_settings.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ CustomSettings::CustomSettings(Deployer* deployer,
2626
bool CustomSettings::Load() {
2727
fs::path user_data_path(deployer_->user_data_dir);
2828
fs::path shared_data_path(deployer_->shared_data_dir);
29-
fs::path config_path(user_data_path / (config_id_ + ".yaml"));
29+
fs::path config_path(user_data_path / "build" / (config_id_ + ".yaml"));
3030
if (!config_.LoadFromFile(config_path.string())) {
3131
config_path = shared_data_path / (config_id_ + ".yaml");
3232
if (!config_.LoadFromFile(config_path.string())) {

0 commit comments

Comments
 (0)