nate-parrott / Flashlight

The missing Spotlight plugin system
http://flashlight.nateparrott.com
Other
5.39k stars 411 forks source link

Add SpotlightFinder to Flashlight #190

Closed jcavar closed 9 years ago

jcavar commented 9 years ago

What i did:

  1. Add new target to SpotlightSIMBL.xcodeproj
  2. Add SpotlightFinder items to that target
  3. In Build Phases of SIMBL.xcodeproj add SpotlightFinder.bundle to copy with SpotlightSIMBL.bundle
  4. In Flashlight scheme add SpotlightFinder.bundle to build with it.
nate-parrott commented 9 years ago

hmm... can we make the "show in Finder" functionality part of the spotlightSIMBL plugin instead? Loading 2 plugins at runtime seems unnecessary. Also, can we make sure the "show in Finder" button only shows when a file result is selected? Sorry if I didn't make this clear earlier, thanks!

jcavar commented 9 years ago

I fixed it to only show button when file is selected. I am not sure about first problem.I am not sure how SpotlightSIMBL exactly works, but all we need to do is to put SpotlightFinder.bundle into folder from which plugins are loaded. Do you have any ideas?