v1.0.8
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+pkillfallback with 1.5s settle time locations applynow also restartssharedfilelistdisVolItemEnablednow correctly returnsfalsefor hidden items (snapshot filters them out)