Skip to content

Commit

Permalink
fix: macos updater
Browse files Browse the repository at this point in the history
  • Loading branch information
hientominh committed Nov 6, 2024
1 parent c179e67 commit 42fcb9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/cli/commands/cortex_upd_cmd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ std::string GetNightlyInstallerName(const std::string& v,
// C:\Users\vansa\AppData\Local\Temp\cortex\cortex-windows-amd64-network-installer.exe
std::string GetInstallCmd(const std::string& exe_path) {
#if defined(__APPLE__) && defined(__MACH__)
return "sudo touch /var/tmp/cortex_installer_skip_postinstall && sudo installer "
return "sudo touch /var/tmp/cortex_installer_skip_postinstall_check && sudo installer "
"-pkg " +
exe_path +
" -target / && sudo rm /var/tmp/cortex_installer_skip_postinstall";
" -target / && sudo rm /var/tmp/cortex_installer_skip_postinstall_check";
#elif defined(__linux__)
return "echo -e \"n\\n\" | sudo SKIP_POSTINSTALL=true apt install -y "
"--allow-downgrades " +
Expand Down

0 comments on commit 42fcb9f

Please sign in to comment.