diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 57c54f9..5138c7a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -68,7 +68,16 @@ jobs: cp .build/release/${{ env.APP_NAME }} "$APP_DIR/MacOS/" # Copy SPM resource bundles (e.g. KeyboardShortcuts) - find .build -path "*/release/*.bundle" -maxdepth 3 -exec cp -R {} "$APP_DIR/Resources/" \; + find .build -name "*.bundle" -path "*/release/*" -exec cp -R {} "$APP_DIR/Resources/" \; + + # Also place bundles next to the executable (fallback search path) + find .build -name "*.bundle" -path "*/release/*" -exec cp -R {} "$APP_DIR/MacOS/" \; + + # Verify bundles were copied + echo "=== Resources ===" + ls -la "$APP_DIR/Resources/" || true + echo "=== MacOS ===" + ls -la "$APP_DIR/MacOS/" || true cp ${{ env.APP_NAME }}/Info.plist "$APP_DIR/" /usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString ${{ steps.version.outputs.VERSION }}" "$APP_DIR/Info.plist"