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

Commit 42fcb9f

Browse files
committed
fix: macos updater
1 parent c179e67 commit 42fcb9f

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 "sudo touch /var/tmp/cortex_installer_skip_postinstall && sudo installer "
58+
return "sudo touch /var/tmp/cortex_installer_skip_postinstall_check && sudo installer "
5959
"-pkg " +
6060
exe_path +
61-
" -target / && sudo rm /var/tmp/cortex_installer_skip_postinstall";
61+
" -target / && sudo rm /var/tmp/cortex_installer_skip_postinstall_check";
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)