Skip to content

Commit

Permalink
fix: update download url
Browse files Browse the repository at this point in the history
  • Loading branch information
sangjanai committed Nov 19, 2024
1 parent 9407f6f commit f917452
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions engine/cli/commands/cortex_upd_cmd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -533,13 +533,11 @@ bool CortexUpdCmd::GetLinuxInstallScript(const std::string& v,
const std::string& channel) {
std::vector<std::string> 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",
Expand Down

0 comments on commit f917452

Please sign in to comment.