Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 1.03 KB

testing.md

File metadata and controls

14 lines (9 loc) · 1.03 KB

Testing your plugin

After successfully building a plugin, it can be tested locally by moving the output files into Flow Launcher's FlowLauncher\Plugins directory accessible via the userdata command in Flow Launcher. Alternatively, if you are building .NET (C# or F#) plugins, you can have your IDE build the artifact directly to that location (remember not to check this build output path into Git though).

Detail Steps

  1. Execute userdata in Flow Launcher.
  2. Navigate into the Plugins folder.
  3. Move existing plugin with the same Plugin ID as specify in plugin.json away from the folder (if more than one plugin have the same Plugin ID, none of them will be loaded).
  4. Copy and paste the newly built plugin folder into this folder.
  5. Execute Restart Flow Launcher to reload the new plugin.

Tip: .NET plugins (e.g. C# and F#) will require you to restart flow every time you make a change and build a new artifact to reload the plugin, but Python and JS/TS plugins you can edit the plugin directly.