Spoons icon indicating copy to clipboard operation
Spoons copied to clipboard

RFE: Seal apps search paths should be configurable

Open junkblocker opened this issue 5 years ago • 2 comments

Currently seal apps module has a hardcoded searchpath which can't be changed after the module is loaded. This prevents customizations and fixes at user's end e.g. for adding /usr/local/Caskroom or any custom paths, I'd have to edit my own copy of Seal spoon to include it.

junkblocker avatar Apr 30 '19 23:04 junkblocker

Agreed. It could technically be exposed as a variable immediately, but it wouldn't be able to take effect because the hs.spotlight searcher starts as soon as the module is loaded. I'd guess the smart move here would be to refactor the spotlight searcher into a function so we can start it at load time, but then let the user restart it if they change the search paths.

cmsj avatar May 02 '19 16:05 cmsj

I've just uploaded a new version of Seal which really ought to make this work, but for a reason that currently escapes me, clearing out the Spotlight cache and creating a new hs.spotlight object, is still somehow leaving results available in Seal.

cmsj avatar Aug 16 '19 11:08 cmsj