Skip to content

Commit d66a33d

Browse files
committed
fix: use correct architecture-specific bundle path in macOS build workflow
When building for specific architectures using --target, Tauri creates app bundles in architecture-specific directories (e.g., aarch64-apple-darwin/release/bundle) rather than the generic release/bundle directory. This fix updates the workflow to copy the app bundle from the correct path.
1 parent 19ae500 commit d66a33d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/build-macos.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,9 @@ jobs:
7373
# Create temp directory
7474
mkdir -p dmg_temp
7575
76-
# Copy the app bundle from one of the builds
77-
cp -R src-tauri/target/release/bundle/macos/Claudia.app dmg_temp/
76+
# Copy the app bundle from one of the architecture-specific builds
77+
# Using the ARM64 build as the base (either architecture works since we'll replace the binary)
78+
cp -R src-tauri/target/aarch64-apple-darwin/release/bundle/macos/Claudia.app dmg_temp/
7879
7980
# Replace the binary with universal binary
8081
rm -f dmg_temp/Claudia.app/Contents/MacOS/claudia

0 commit comments

Comments
 (0)