Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 4793b3a

Browse files
authored
fix: network installer macos not install llama-cpp engine (#1633)
Co-authored-by: Hien To <tominhhien97@gmail.com>
1 parent 5ca8257 commit 4793b3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

engine/cli/commands/cortex_upd_cmd.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ std::string GetNightlyInstallerName(const std::string& v,
5555
// C:\Users\vansa\AppData\Local\Temp\cortex\cortex-windows-amd64-network-installer.exe
5656
std::string GetInstallCmd(const std::string& exe_path) {
5757
#if defined(__APPLE__) && defined(__MACH__)
58-
return "touch /var/tmp/cortex_installer_skip_postinstall && sudo installer "
58+
return "sudo touch /var/tmp/cortex_installer_skip_postinstall && sudo installer "
5959
"-pkg " +
6060
exe_path +
61-
" -target / && rm /var/tmp/cortex_installer_skip_postinstall";
61+
" -target / && sudo rm /var/tmp/cortex_installer_skip_postinstall";
6262
#elif defined(__linux__)
6363
return "echo -e \"n\\n\" | sudo SKIP_POSTINSTALL=true apt install -y "
6464
"--allow-downgrades " +

0 commit comments

Comments
 (0)