-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #57 from 0xCCY/main
feat(testing): update instructions for testing
- Loading branch information
Showing
4 changed files
with
43 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Get Started | ||
|
||
Welcome to the comprehensive guide to plugin development in Flow Launcher. | ||
|
||
## Types of plugin implementation | ||
|
||
While Flow Launcher is written in C#, plugins can be written natively or in other languages. | ||
|
||
### Natively (no intergration needed) | ||
|
||
- [**C# (.NET framework)**](/develop-dotnet-plugins.md) | ||
|
||
### Using JSON-RPC | ||
|
||
For other languages, Flow launcher communicates with the plugin via [JSON-RPC](/json-rpc.md). | ||
|
||
Currently supported languages are: | ||
|
||
- [**Python**](/py-develop-plugins.md) | ||
- [**JavaScript / TypeScript (NodeJS)**](/nodejs-develop-plugins.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
### 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 artefact 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 exisiting 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 artefact to reload the plugin, but Python and JS/TS plugins you can edit the plugin directly. |