From afa1a4a97670f1b5f2eff87bbaa86e1bed0f1be3 Mon Sep 17 00:00:00 2001 From: Ramnique Singh <30795890+ramnique@users.noreply.github.com> Date: Sat, 17 Jan 2026 11:11:00 +0530 Subject: [PATCH] debug forge build --- .github/workflows/electron-build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/electron-build.yml b/.github/workflows/electron-build.yml index a54d4478..9452a803 100644 --- a/.github/workflows/electron-build.yml +++ b/.github/workflows/electron-build.yml @@ -61,6 +61,30 @@ jobs: run: npm run make working-directory: apps/x/apps/main + - name: Diagnose built app + run: | + echo "=== Architecture Check ===" + APP_PATH=$(find apps/x/apps/main/out -name "Rowboat.app" -type d | head -1) + if [ -n "$APP_PATH" ]; then + EXECUTABLE="$APP_PATH/Contents/MacOS/rowboat" + if [ -f "$EXECUTABLE" ]; then + echo "App executable found at: $EXECUTABLE" + echo "Architecture:" + lipo -info "$EXECUTABLE" || file "$EXECUTABLE" + echo "" + echo "=== Code Signing Check ===" + codesign --verify --deep --strict --verbose=2 "$APP_PATH" || echo "App is not signed (this is OK if code signing secrets are not configured)" + echo "" + echo "=== Gatekeeper Check ===" + spctl --assess --type execute --verbose "$APP_PATH" || echo "Gatekeeper assessment failed (expected for unsigned apps)" + else + echo "Executable not found at: $EXECUTABLE" + fi + else + echo "App bundle not found" + fi + continue-on-error: true + - name: Upload workflow artifacts uses: actions/upload-artifact@v4 with: