From 435191e9178e0d2dff4f97322eb7b85e1bc44612 Mon Sep 17 00:00:00 2001 From: Hien To Date: Tue, 15 Oct 2024 13:10:16 +0700 Subject: [PATCH] fix: cortex, cortex-beta and cortex-nightly be able to install at the same time on macos --- engine/templates/macos/create_pkg.sh | 2 +- engine/templates/macos/create_pkg_local.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/templates/macos/create_pkg.sh b/engine/templates/macos/create_pkg.sh index bf8cbcaf1..8be3fb362 100644 --- a/engine/templates/macos/create_pkg.sh +++ b/engine/templates/macos/create_pkg.sh @@ -25,4 +25,4 @@ sed -i '' "3s/.*/DATA_FOLDER_NAME=$DATA_FOLDER_NAME/" installer/$UNINSTALLER_FIL sed -i '' "4s/.*/CONFIGURATION_FILE_NAME=$CONFIGURATION_FILE_NAME/" installer/$UNINSTALLER_FILE_NAME sed -i '' "5s/.*/UNINSTALLER_FILE_NAME=$UNINSTALLER_FILE_NAME/" installer/$UNINSTALLER_FILE_NAME -pkgbuild --identifier ai.cortexcpp.pkg --version $VERSION --scripts Scripts --install-location /usr/local/bin --root ./installer ${PACKAGE_NAME}.pkg +pkgbuild --identifier ai.${PACKAGE_NAME}.pkg --version $VERSION --scripts Scripts --install-location /usr/local/bin --root ./installer ${PACKAGE_NAME}.pkg diff --git a/engine/templates/macos/create_pkg_local.sh b/engine/templates/macos/create_pkg_local.sh index 5ef16db30..5dce34931 100644 --- a/engine/templates/macos/create_pkg_local.sh +++ b/engine/templates/macos/create_pkg_local.sh @@ -25,4 +25,4 @@ sed -i '' "3s/.*/DATA_FOLDER_NAME=$DATA_FOLDER_NAME/" installer/$UNINSTALLER_FIL sed -i '' "4s/.*/CONFIGURATION_FILE_NAME=$CONFIGURATION_FILE_NAME/" installer/$UNINSTALLER_FILE_NAME sed -i '' "5s/.*/UNINSTALLER_FILE_NAME=$UNINSTALLER_FILE_NAME/" installer/$UNINSTALLER_FILE_NAME -pkgbuild --identifier ai.cortexcpp.pkg --version $VERSION --scripts Scripts --install-location /usr/local/bin --root ./installer ${PACKAGE_NAME}.pkg +pkgbuild --identifier ai.${PACKAGE_NAME}.pkg --version $VERSION --scripts Scripts --install-location /usr/local/bin --root ./installer ${PACKAGE_NAME}.pkg