Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
namchuai committed Oct 29, 2024
1 parent 7b5f2a1 commit 549f1ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions engine/services/engine_service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,11 @@ cpp::result<void, std::string> EngineService::DownloadEngineV2(
return cpp::fail("Not found variant: " + variant_name);
}

auto engine_folder_path = file_manager_utils::GetEngineFolderPath(engine);
auto engine_folder_path =
file_manager_utils::GetEnginesContainerPath() / engine;
auto variant_folder_path = engine_folder_path / variant_name / version;
auto variant_path = variant_folder_path / merged_variant_name;
std::filesystem::create_directories(
variant_folder_path); // TODO: move this to other place
std::filesystem::create_directories(variant_folder_path);
CLI_LOG("variant_folder_path: " + variant_folder_path.string());

auto on_finished = [](const DownloadTask& finishedTask) {
Expand Down

0 comments on commit 549f1ef

Please sign in to comment.