dkgv / pinpoint

Keystroke launcher and personal command central. Alternative to Spotlight and Alfred for Windows. Alternative to Wox, PowerToys.
https://usepinpoint.com
GNU General Public License v3.0
153 stars 17 forks source link

Dynamic plugin loading #204

Closed mgrandi closed 1 year ago

mgrandi commented 1 year ago

Is there anything planned to make it so that a common interface is defined somewhere and that way plugins can compile against that and be loaded dynamically? I have a plugin that I wrote that i keep having to update and recompile the whole app every time a new version is released, since the changes i made require a change in https://github.com/dkgv/pinpoint/blob/a0be2cc3e59bd10cf920dacf7c95dbaafe3f7de9/Pinpoint.Win/Views/MainWindow.xaml.cs#L130C11-L130C11 to load the plugin

dkgv commented 1 year ago

Hey @mgrandi! It's not planned but I like the idea. How about we allow you to specify a plugin directory through the UI? Pinpoint could then attempt to locate relevant DLLs in this designated directory.

mgrandi commented 1 year ago

Whoa, this was on my list of things to respond to and you just finished it already! Thanks! I'll take a look