From f4bdaefb0f9a11efce94280d1d0c7fb24813b6c7 Mon Sep 17 00:00:00 2001 From: RAKKUNN Date: Sun, 12 Apr 2026 20:22:23 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20Resource=20bundle=20copy=20=E2=80=94=20r?= =?UTF-8?q?emove=20maxdepth,=20add=20fallback=20+=20verification?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previous find command used -maxdepth 3 which missed bundles at .build/arm64-apple-macosx/release/ (depth 4). Now: - Removed maxdepth limit - Copy bundles to both Resources/ and MacOS/ (fallback) - Added ls verification for CI debugging --- .github/workflows/release.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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"