Skip to content

v1.0.8

Choose a tag to compare

@7onnie 7onnie released this 20 Apr 10:48
· 11 commits to main since this release

v1.0.8

Fix AirDrop, iCloud Drive, Home, and Trash visibility toggling

The previous approach (LSSharedFileListItemSetProperty with IsHidden) wrote to CustomItemProperties inside items, but Finder reads the top-level visibility integer field in the NSKeyedArchiver sfl4 file. This release fixes the toggle by writing the visibility field directly in the sfl4 file, then restarting sharedfilelistd (which caches sfl4 in memory) so it reloads the modified file before Finder reconnects.

Changes

  • Replace LSSharedFileListItemSetProperty(IsHidden) with direct sfl4 write via Python subprocess
  • Add restartSharedFileListd()launchctl kickstart -k + pkill fallback with 1.5s settle time
  • locations apply now also restarts sharedfilelistd
  • isVolItemEnabled now correctly returns false for hidden items (snapshot filters them out)