★ FITS ON A FLOPPY💾229K
Download on GitHub

Toggle Samba file sharing automatically

Download on GitHub

Requires macOS Big Sur 11.0 or later

Last Dance solves a persistent macOS bug where SMB file sharing becomes unresponsive after restart. Install and run this app, and never worry about the state of file sharing ever again.

The app works by automatically disabling file sharing before your Mac shuts down or restarts, then re-enabling it when you log back in.

The Problem

macOS has a known bug where SMB file sharing can stop working properly after a restart. Other devices on your network lose the ability to connect to your Mac’s shared folders, requiring manual intervention to fix.

The Solution

Last Dance automates the fix: it watches for system shutdown and restart events, disables file sharing before the system goes down, and re-enables it at login. The workaround happens automatically in the background.

Menu Bar Status

  • Folder icon shows current file sharing state:
  • Person badge when sharing is enabled
  • Minus badge when sharing is disabled
  • Question mark badge when busy

Secure Implementation

  • Uses Apple’s SMJobBless for privileged helper installation
  • XPC communication for secure privilege escalation
  • Hardened runtime enabled
  • One-time administrator authorisation required

Simple Setup

  1. Launch Last Dance
  2. Authorise the privileged helper when prompted
  3. The app starts automatically at login
  4. That’s it—SMB issues are fixed forever

Optimised

  • Less than 1 MB app file size
  • Less than 25 MB base memory footprint