A high-performance Android storage analyzer that bypasses MTP using a native C++ daemon, a Rust TCP bridge, and a React Treemap UI.
Rust
Build a universal macOS DMG for Apple Silicon and Intel (#195)
Vishnu Srivatsavaec83692de898
diff --git a/.github/workflows/build.yml b/.github/workflows/build.ymlindex e6ad29f..c3576e4 100644--- a/.github/workflows/build.yml+++ b/.github/workflows/build.yml@@ -20,6 +20,7 @@ jobs:# catalog ("error-glibc-too-new" otherwise).- os: ubuntu-22.04platform: linux+ build_args: ""installer_artifact: SocketSweep-Linuxinstaller_paths: |src-tauri/target/release/bundle/deb/*.deb@@ -29,12 +30,16 @@ jobs:adb_sha256: d230f13842f60f782a8645f9c813f8f845bf36089ea7289f28c48f17979313f1- os: macos-latestplatform: macos+ # One DMG for Apple Silicon and Intel Macs alike: the universal+ # target compiles both slices and lipo-merges them.+ build_args: --target universal-apple-darwininstaller_artifact: SocketSweep-macOS- installer_paths: src-tauri/target/release/bundle/dmg/*.dmg+ installer_paths: src-tauri/target/universal-apple-darwin/release/bundle/dmg/*.dmgadb_url: https://dl.google.com/android/repository/platform-tools_r37.0.1-darwin.zipadb_sha256: ee39ad5967e95c2a07f04dbcbde96b1a0c916ba376096db5d2f498b7727a5d1d- os: windows-latestplatform: windows+ build_args: ""installer_artifact: SocketSweep-Windowsinstaller_paths: |src-tauri/target/release/bundle/msi/*.msi@@ -177,9 +182,13 @@ jobs:# ── Build Tauri desktop app ───────────────────────────────────────────# This single command builds the React frontend (beforeBuildCommand),# compiles the Rust bridge, and packages everything into native- # platform installers (.dmg / .deb / .AppImage / .msi / .exe).+ # platform installers (.dmg / .deb / .AppImage / .msi / .exe). The+ # macOS job builds the universal target for Apple Silicon and Intel.+ - name: Add universal macOS Rust targets+ if: runner.os == 'macOS'+ run: rustup target add aarch64-apple-darwin x86_64-apple-darwin- name: Build Tauri app- run: npm run tauri -- build --verbose+ run: npm run tauri -- build --verbose ${{ matrix.build_args }}- name: Test Rust bridgerun: cargo test --locked --manifest-path src-tauri/Cargo.toml --libdiff --git a/README.md b/README.mdindex 12b234c..c7b2304 100644--- a/README.md+++ b/README.md@@ -71,7 +71,7 @@ Measure ADB and MTP file copy throughput separately using the [transfer benchmar| Platform | Download ||----------|----------|| 🪟 **Windows** | [Installer (.exe)](https://github.com/VishnuSrivatsava/SocketSweep/releases/tag/v1.3.0) · [Enterprise (.msi)](https://github.com/VishnuSrivatsava/SocketSweep/releases/tag/v1.3.0) |-| 🍎 **macOS** (Apple Silicon) | [Disk Image (.dmg)](https://github.com/VishnuSrivatsava/SocketSweep/releases/tag/v1.3.0) |+| 🍎 **macOS** (Apple Silicon & Intel) | [Disk Image (.dmg)](https://github.com/VishnuSrivatsava/SocketSweep/releases/tag/v1.3.0) || 🐧 **Linux** | [AppImage](https://github.com/VishnuSrivatsava/SocketSweep/releases/tag/v1.3.0) · [.deb](https://github.com/VishnuSrivatsava/SocketSweep/releases/tag/v1.3.0) |> **AppImage updates:** Starting with v1.2.0, AppImages include update information and a matching `.zsync` release asset for delta updates with [AppImageUpdate](https://github.com/AppImageCommunity/AppImageUpdate). Updates follow the latest published stable release. Existing v1.1.1 downloads need one manual upgrade to an AppImage with this metadata.