Skip to content

feat(macos): add native volume support and complete macOS port - #7

Closed
cristim wants to merge 3 commits into
tobi:mainfrom
cristim:feat/macos-support
Closed

cristim wants to merge 3 commits into
tobi:mainfrom
cristim:feat/macos-support

Conversation

@cristim

@cristim cristim commented Sep 25, 2026

Copy link
Copy Markdown

Builds on #1 by Jason Kneen. His two commits are preserved and rebased onto current main, retaining the app bundle, Finder reveal action, and native Trash integration.

This adds native macOS volume discovery and mount exclusions, including APFS Data-volume aliases and filesystem path spelling. Removal guards protect the home directory and system trees through those aliases. It also fixes installation paths containing spaces, documents macOS setup and privacy requirements, and runs CI on Linux and macOS.

Validation on Apple Silicon macOS with Rust 1.97:

  • cargo xtask ci: formatting, clippy, 48 app/window tests and 86 core tests passed; one whole-disk smoke test remains intentionally ignored.
  • Linux core tests in a Rust 1.97 container as a non-root user: 79 passed, one ignored.
  • Release build and app bundle installation into paths containing spaces passed. The installed plist validates and the terminal symlink runs --help.
  • A native scan/plan/Trash/rescan probe removed two same-named files, a directory, and a symlink while preserving the symlink target and an unmarked file.

Verification limits: visible GUI interaction was unavailable because the test Mac was locked. Reading Trash to verify restoration was denied by macOS privacy permissions. CI workflow structure was checked with an act dry run; GitHub Actions still needs to execute this PR.

jasonkneen and others added 3 commits September 25, 2026 02:17
Add an `o` shortcut to show the selected path in the platform file manager, using Finder selection on macOS and opening the parent folder elsewhere. Also add support for macOS's native `/usr/bin/trash` backend so items go to Finder's Trash with Put Back support, along with related help text and tests.
@trbielec

Copy link
Copy Markdown

Works well. Thank you!

@khaledez

Copy link
Copy Markdown

Works well. Thank you. I just reclaimed 140+ GB because of you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants