Previously the guest-agent relocation script always asked Finder for the *front* window and dropped there. That meant dropping on the bare Desktop while a Downloads window happened to be frontmost put the file in Downloads — the opposite of user intent. Plumb the drop point (already captured as a normalized 0..1 top-left coordinate by DropGeometry.normalize) through synthesizeGuestDrop and GuestDropSynthesis.perform into the in-guest script. The script now converts the point to guest-screen pixels using the desktop window's bounds, walks `every Finder window` in front-to-back order, and returns the folder of the first window whose bounds contain the point. If no window does, dest_dir stays empty and the existing fallback drops the file on ~/Desktop — which is correct for a drop on bare Desktop. The AppleScript body is piped to `osascript -` via a single-quoted bash variable (rather than a heredoc) so it survives Swift's multi-line string indentation rules cleanly. |
||
|---|---|---|
| .ci | ||
| .github | ||
| Resources | ||
| Sources/tart | ||
| Tests/TartTests | ||
| benchmark | ||
| docs | ||
| integration-tests | ||
| scripts | ||
| .cirrus.yml | ||
| .editorconfig | ||
| .gitignore | ||
| .goreleaser.yml | ||
| .swiftformat | ||
| CONTRIBUTING.md | ||
| LICENSE | ||
| PROFILING.md | ||
| Package.resolved | ||
| Package.swift | ||
| README.md | ||
| actool.sh | ||
| gon.hcl | ||
| mkdocs.yml | ||
README.md
Tart is a virtualization toolset to build, run and manage macOS and Linux virtual machines (VMs) on Apple Silicon. Built by CI engineers for your automation needs. Here are some highlights of Tart:
- Tart uses Apple's own
Virtualization.Frameworkfor near-native performance. - Push/Pull virtual machines from any OCI-compatible container registry.
- Use Tart Packer Plugin to automate VM creation.
- Easily integrates with any CI system.
Tart powers Cirrus Runners service — a drop-in replacement for the standard GitHub-hosted runners, offering 2-3 times better performance for a fraction of the price.
Many companies are using Tart in their internal setups. Here are just a few of them:
Note: If your company or project is using Tart please consider sharing with the community.
Usage
Try running a Tart VM on your Apple Silicon device running macOS 13.0 (Ventura) or later (will download a 25 GB image):
brew install cirruslabs/cli/tart
tart clone ghcr.io/cirruslabs/macos-tahoe-base:latest tahoe-base
tart run tahoe-base
Please check the official documentation for more information and/or feel free to use discussions for remaining questions.