From f917452746558dfa3d2a4f4769e7a37437128d92 Mon Sep 17 00:00:00 2001 From: vansangpfiev Date: Tue, 19 Nov 2024 08:43:42 +0700 Subject: [PATCH] fix: update download url --- engine/cli/commands/cortex_upd_cmd.cc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/engine/cli/commands/cortex_upd_cmd.cc b/engine/cli/commands/cortex_upd_cmd.cc index 3e8f3d296..231594346 100644 --- a/engine/cli/commands/cortex_upd_cmd.cc +++ b/engine/cli/commands/cortex_upd_cmd.cc @@ -533,13 +533,11 @@ bool CortexUpdCmd::GetLinuxInstallScript(const std::string& v, const std::string& channel) { std::vector path_list; if (channel == "nightly") { - path_list = {"janhq", "cortex.cpp", "feat", "linux-bash-install-script", - "engine", "templates", "linux", "install.sh"}; + path_list = {"janhq", "cortex.cpp", "dev", "engine", + "templates", "linux", "install.sh"}; } else { - path_list = {"janhq", "cortex.cpp", "feat", "linux-bash-install-script", - "engine", "templates", "linux", "install.sh"}; - // path_list = {"janhq", "cortex.cpp", "main", "engine", - // "templates", "linux", "install.sh"}; + path_list = {"janhq", "cortex.cpp", "main", "engine", + "templates", "linux", "install.sh"}; } auto url_obj = url_parser::Url{ .protocol = "https",