Skip to content

feat: native macOS support (v0.4.5)#347

Open
exhuman777 wants to merge 1 commit intoruvnet:mainfrom
exhuman777:feat/macos-native-support
Open

feat: native macOS support (v0.4.5)#347
exhuman777 wants to merge 1 commit intoruvnet:mainfrom
exhuman777:feat/macos-native-support

Conversation

@exhuman777
Copy link
Copy Markdown

Summary

  • Native macOS commands: WiFi diagnostics via CoreWLAN, site survey, system info, serial driver detection, permissions check
  • macOS entitlements for network/USB/serial/Bonjour access
  • DMG installer with Applications shortcut, universal binary (ARM64+x64)
  • Code signing + notarization CI workflow (when Apple secrets configured)
  • macOS diagnostics page in desktop UI (conditional, only visible on macOS)
  • Overlay titlebar with native traffic light buttons
  • Install script (scripts/install-macos.sh)

Files changed (14 files, +1129/-87)

New files:

  • entitlements.plist - macOS sandbox entitlements
  • src/commands/macos.rs - WiFi info, scan, system info, permissions (4 Tauri commands)
  • ui/src/pages/MacOSDiagnostics.tsx - diagnostics UI page
  • scripts/install-macos.sh - curl installer

Modified:

  • tauri.conf.json - DMG config, overlay titlebar, macOS bundle settings, CSP
  • src/lib.rs - conditional macOS command registration via cfg(target_os = "macos")
  • src/commands/mod.rs - macOS module
  • desktop-release.yml - DMG builds, universal binary, signing, notarization, cargo cache
  • App.tsx - macOS nav item
  • design-system.css - macOS titlebar drag region
  • main.tsx - macOS class detection
  • types.ts - macOS type definitions
  • version.ts - bump to 0.4.5

Test plan

  • cargo check -p wifi-densepose-desktop on macOS
  • Verify macOS commands work: macos_wifi_info, macos_system_info, macos_check_permissions
  • WiFi scan returns nearby networks
  • DMG mounts correctly with Applications symlink
  • Non-macOS builds unaffected (cfg guards)
  • UI shows macOS nav item only on macOS

🤖 Generated with Claude Code

- CoreWLAN WiFi diagnostics (SSID, RSSI, channel, noise, PHY mode)
- WiFi site survey for ESP32 node placement
- macOS system info + USB serial driver detection (CP210x, CH340, FTDI)
- Permissions checker (network, USB, WiFi scan, location)
- Entitlements for network, USB, serial, Bonjour access
- Overlay titlebar with native traffic lights
- DMG installer with Applications shortcut
- Universal binary (lipo ARM64+x64) in CI
- Code signing + notarization workflow (when secrets configured)
- macOS diagnostics page in UI (conditional, only on macOS)
- Install script: scripts/install-macos.sh
- Cargo cache in CI, separate runners per arch

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant