summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAtlasLinden <114031241+AtlasLinden@users.noreply.github.com>2025-07-10 08:56:37 -0700
committerGitHub <noreply@github.com>2025-07-10 08:56:37 -0700
commitc70875e0ba93151a19c7b48e3d66dfe9ed556171 (patch)
treec63b5082d1e8071f6f5496236d38d22e792ba690
parent2f77cd09a98c2fbc1e928bf04d400afdeaf55a13 (diff)
Redirecting viewer installation to Application directory
-rw-r--r--.github/workflows/qatest.yaml17
1 files changed, 9 insertions, 8 deletions
diff --git a/.github/workflows/qatest.yaml b/.github/workflows/qatest.yaml
index db6268e200..ba2c0ed6d9 100644
--- a/.github/workflows/qatest.yaml
+++ b/.github/workflows/qatest.yaml
@@ -501,7 +501,9 @@ jobs:
echo "✅ DMG mounted at $MOUNT_POINT"
- # Find the app in the mounted DMG
+ echo "Installing application to default location from DMG..."
+
+ # Find the .app bundle in the DMG
APP_PATH=$(find "$MOUNT_POINT" -name "*.app" -type d | head -1)
if [ -z "$APP_PATH" ]; then
@@ -509,18 +511,17 @@ jobs:
exit 1
fi
- echo "Installing application to Applications folder..."
-
- # Copy the app to the Applications folder (or specified install path)
- rsync -a --inplace "$APP_PATH" "${{ matrix.install-path }}/"
+ # Use the default macOS installer to copy the .app to /Applications
+ cp -R "$APP_PATH" /Applications/
# Verify the app was copied successfully
- if [ ! -d "${{ matrix.install-path }}/$(basename \"$APP_PATH\")" ]; then
- echo "❌ Error: Failed to install application to ${{ matrix.install-path }}!"
+ APP_NAME=$(basename "$APP_PATH")
+ if [ ! -d "/Applications/$APP_NAME" ]; then
+ echo "❌ Error: Failed to install application to /Applications!"
exit 1
fi
- echo "✅ Application installed successfully to ${{ matrix.install-path }}"
+ echo "✅ Application installed successfully to /Applications"
# Save mount point for cleanup
echo "MOUNT_POINT=$MOUNT_POINT" >> $GITHUB_ENV