4 ms·
They could just copy OSX's approach: a privileged system search-indexer daemon "discovers" new app bundles users have plopped onto the disk, and then it tells a
by derefr 10y ago
They could just copy OSX's approach: a privileged system search-indexer daemon "discovers" new app bundles users have plopped onto the disk, and then it tells a privileged "Launch Services" daemon about those bundles, which extracts their metadata and sticks it into its registry. (This is why e.g. filetype associations for apps get registered on OSX the moment you extract the app to disk; or, more recently, the moment you de-quarantine the app from its internet origin.)