From cb24822cacf0db3c0aedaedd717f2e5fdcd77669 Mon Sep 17 00:00:00 2001 From: "Josep Lluis Giralt D'Lacoste ( Pep )" <6720169+gilacost@users.noreply.github.com> Date: Fri, 6 Mar 2026 22:11:15 +0700 Subject: [PATCH] build: add universal macOS binary (aarch64 + x86_64) (#90) Add x86_64-apple-darwin Rust target alongside the existing aarch64 target and switch Tauri build to --target universal-apple-darwin, producing a single DMG that runs natively on both Apple Silicon and Intel Macs. --- .github/workflows/desktop-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/desktop-release.yml b/.github/workflows/desktop-release.yml index 4a087013f..fe3150ed3 100644 --- a/.github/workflows/desktop-release.yml +++ b/.github/workflows/desktop-release.yml @@ -42,7 +42,7 @@ jobs: - name: Install Rust stable uses: dtolnay/rust-toolchain@stable with: - targets: aarch64-apple-darwin + targets: aarch64-apple-darwin,x86_64-apple-darwin - name: Install JS dependencies run: npm ci @@ -110,4 +110,4 @@ jobs: releaseBody: See the assets to download and install this version. releaseDraft: false prerelease: false - args: --target aarch64-apple-darwin + args: --target universal-apple-darwin